This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients belopolsky, eric.araujo, pdonis, zach.ware
Date 2020-02-13.01:21:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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)
Date User Action Args
2020-02-13 01:21:24eric.araujosetrecipients: + eric.araujo, belopolsky, pdonis, zach.ware
2020-02-13 01:21:23eric.araujosetmessageid: <>
2020-02-13 01:21:23eric.araujolinkissue1812 messages
2020-02-13 01:21:23eric.araujocreate