Antoine Pitrou <pit...@free.fr> added the comment: I support Amaury's suggestion (actually I implemented it in the io-c branch). Resetting the decoder when seeking to the beginning of the stream is a reasonable way to deal with those incremental decoders for which the start state is something else than (b"", 0).
(and, you're right, opening in append mode is a different problem...) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4862> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com