[issue1460] codecs utf7 decoding error

2007-11-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The utf-7 incremental decoder was indeed losing its state between two chunks of data. Corrected as r59076. -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1460] codecs utf7 decoding error

2007-11-19 Thread Árni Már Jónsson
Árni Már Jónsson added the comment: Added a test file. Added file: http://bugs.python.org/file8774/test __ Tracker <[EMAIL PROTECTED]> __ test Description: Binary data ___

[issue1460] codecs utf7 decoding error

2007-11-19 Thread Árni Már Jónsson
New submission from Árni Már Jónsson: There is a utf-7 decoding error when decoding strings which have a shift sequence at a certain place. To reproduce run the attached program on a file containing the string: "0123456789012345678901234567890123456789012345678901234567890123456789X+-". The shif