This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, vstinner
Date 2009-03-20.00:37:43
SpamBayes Score 4.0542504e-06
Marked as misclassified No
Message-id <>
@pitrou: You're right, but the state have to be changed for the 
encoder, not the decoder. I added the following code to TextIOWrapper 
constructor (for the C and the Python version of io library):

        if self._seekable and self.writable():
            position = self.buffer.tell()
            if position != 0:
                self._encoder = self._get_encoder()
Date User Action Args
2009-03-20 00:37:48vstinnersetrecipients: + vstinner, pitrou
2009-03-20 00:37:48vstinnersetmessageid: <>
2009-03-20 00:37:44vstinnerlinkissue5006 messages
2009-03-20 00:37:44vstinnercreate