Éric Araujo <mer...@netwok.org> added the comment:

Allow me to ask a maybe very naive question:

Wouldn't it be possible to fix the problem at the source, that is, use 
`open(filename, "rU")` in the two spots you found rather than doing ad-hoc line 
ending translation?

(I get that the second one uses `rb` at the moment, so switching from bytes to 
str is not just a one-liner there)

----------
nosy: +eric.araujo

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

Reply via email to