Steven D'Aprano added the comment:

On Fri, Jul 10, 2015 at 02:18:33AM +0000, Gregory P. Smith wrote:

> for bytes, \v (0x0b) is not considered a line break.  for unicode, it is.
[...]
> I think these should be consistent.

I'm not sure that they should. Unicode includes other line breaks which 
bytes should not consider line breaks, such as NEL (Next Line), U+0085. 
Why should bytes be consistent with only the subset of line breaks that 
are in ASCII?

----------
nosy: +steven.daprano

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to