[issue12512] codecs: StreamWriter issues with stateful codecs after a seek or with append mode

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. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue12512] codecs: StreamWriter issues with stateful codecs after a seek or with append mode

2011-07-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: There is a similar bug for append mode: import codecs _open = codecs.open #_open = open filename = test with _open(filename, 'w', encoding='utf_16') as f: f.write('abc') with _open(filename, 'a', encoding='utf_16') as f: