Message23904
It seems that the fix for bug 1076985 (Incorrect
behaviour of StreamReader.readline leads to crash) has
introduced a new bug.
using current cvs Python on Linux, I observe faulty
behavior of the readline() method on file-like objects
returned from the codecs module.
See the attached example.txt.
The readline() breaks certain lines in half.
It only happens when a certain encoding is used, so regular
file objects behave as expected. Also, readlines()
works fine.
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:28:53 | admin | link | issue1098990 messages |
| 2007-08-23 14:28:53 | admin | create | |
|