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 eric.araujo, jaraco, pitrou
Date 2011-01-09.01:11:17
SpamBayes Score 0.019100398
Marked as misclassified No
Message-id <>
I did a bit of testing on demo files.  The first one I tested with had mixed EOLs, in which case the newlines attribute will be a tuple and open(..., newline=r.newlines) will fail.  For reference:

What would be the best behavior in such cases?  Refuse the temptation to guess and exit?
Date User Action Args
2011-01-09 01:11:19eric.araujosetrecipients: + eric.araujo, jaraco, pitrou
2011-01-09 01:11:19eric.araujosetmessageid: <>
2011-01-09 01:11:17eric.araujolinkissue10639 messages
2011-01-09 01:11:17eric.araujocreate