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 <1581556883.99.0.62382675911.issue1812@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2020-02-13 01:21:24eric.araujosetrecipients: + eric.araujo, belopolsky, pdonis, zach.ware
2020-02-13 01:21:23eric.araujosetmessageid: <1581556883.99.0.62382675911.issue1812@roundup.psfhosted.org>
2020-02-13 01:21:23eric.araujolinkissue1812 messages
2020-02-13 01:21:23eric.araujocreate