[issue9593] utf8 codec readlines error after "\x85 "

Antoine Pitrou report at bugs.python.org
Fri Aug 13 21:37:50 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

U+0085 corresponds to a line terminator (*). and codecs.open() observes this convention.
Do note that the new io.open() (or the built-in open() in 3.x) only recognizes '\r' and '\n' as line separators.

In any case, changing this behaviour would break compatibility, therefore I'm rejecting the issue.

(*) http://en.wikipedia.org/wiki/Newline#Unicode

----------
nosy: +pitrou
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9593>
_______________________________________


More information about the Python-bugs-list mailing list