Author pitrou
Recipients Technologov, lemburg, pitrou
Date 2008-02-16.23:15:11
SpamBayes Score 0.0431992
Marked as misclassified No
Message-id <1203203713.04.0.127539156516.issue2131@psf.upfronthosting.co.za>
In-reply-to
Content
As stated in the codecs.open() docstring: """Files are always opened in
binary mode, even if no binary mode was specified. This is done to avoid
data loss due to encodings using 8-bit values""". This certainly means
you have to insert "\r\n" yourself (instead of just "\n") if you want
the file contents to respect the end-of-line convention under Windows...
History
Date User Action Args
2008-02-16 23:15:13pitrousetspambayes_score: 0.0431992 -> 0.0431992
recipients: + pitrou, lemburg, Technologov
2008-02-16 23:15:13pitrousetspambayes_score: 0.0431992 -> 0.0431992
messageid: <1203203713.04.0.127539156516.issue2131@psf.upfronthosting.co.za>
2008-02-16 23:15:12pitroulinkissue2131 messages
2008-02-16 23:15:11pitroucreate