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 pitrou
Recipients georg.brandl, jaywalker, pitrou, vstinner
Date 2009-01-05.17:47:20
SpamBayes Score 0.007657794
Marked as misclassified No
Message-id <1231177641.01.0.307418275065.issue4847@psf.upfronthosting.co.za>
In-reply-to
Content
You can avoid the newline translation problem by using the newline
parameter in open(). Set it to '' (the empty string) and any CR and LF
characters should remain intact.

As for the original problem, IMHO it is a documentation bug.
History
Date User Action Args
2009-01-05 17:47:21pitrousetrecipients: + pitrou, georg.brandl, vstinner, jaywalker
2009-01-05 17:47:21pitrousetmessageid: <1231177641.01.0.307418275065.issue4847@psf.upfronthosting.co.za>
2009-01-05 17:47:20pitroulinkissue4847 messages
2009-01-05 17:47:20pitroucreate