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, orsenthil, python-dev
Date 2011-07-27.15:24:21
SpamBayes Score 2.938087e-08
Marked as misclassified No
Message-id <1311780261.87.0.563204336255.issue10639@psf.upfronthosting.co.za>
In-reply-to
Content
> The patch is a little more intrusive than the Python 3 patch because
> Python 2.7 doesn't allow specifying the newline to use when writing a
> file (afaict)

Instead of writing a new class, what about using io.open instead of the builtin?  Then you’ll be able to use the same patch than 3.2.
History
Date User Action Args
2011-07-27 15:24:21eric.araujosetrecipients: + eric.araujo, jaraco, orsenthil, python-dev
2011-07-27 15:24:21eric.araujosetmessageid: <1311780261.87.0.563204336255.issue10639@psf.upfronthosting.co.za>
2011-07-27 15:24:21eric.araujolinkissue10639 messages
2011-07-27 15:24:21eric.araujocreate