[issue12513] codec.StreamReaderWriter: issues with interlaced read-write

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I just lost track of this issue and so will just close it. Moreover, I also closed issue12215. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue12513] codec.StreamReaderWriter: issues with interlaced read-write

2014-07-03 Thread Mark Lawrence
Mark Lawrence added the comment: Codecs gurus FYI. -- nosy: +BreamoreBoy, doerwalter, lemburg type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue12513] codec.StreamReaderWriter: issues with interlaced read-write

2011-07-07 Thread STINNER Victor
New submission from STINNER Victor : The following test fails with an AssertionError('a' != 'b') on the first read. import codecs FILENAME = 'test' with open(FILENAME, 'wb') as f: f.write('abcd'.encode('utf-8')) with codecs.open(FILENAME, 'r+', encoding='utf-8') as f: f.write("1")