Moriyoshi Koizumi <mozo+pyt...@mozo.jp> added the comment:

@ezio.melotti

Yes, it works flawlessly as for parsing. 

Fixing this would actually break the current behavior, but I believe 
this is how it should work.

It seems #5752 pretty much says the same thing.

@effbot

As specified in 2.11 End-of-Line Handling [2], any variants of EOL 
characters should have been normalized into single #xa before it 
actually gets parsed, so bare #xd characters would never appear as they 
are amongst parsed information items.


[2] http://www.w3.org/TR/xml/#sec-line-ends

----------

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

Reply via email to