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 vstinner
Recipients M..Z., amaury.forgeotdarc, vstinner
Date 2011-10-07.08:52:31
SpamBayes Score 0.00030891335
Marked as misclassified No
Message-id <1317977553.1.0.752667915145.issue13119@psf.upfronthosting.co.za>
In-reply-to
Content
I changed how newlines are handled on Windows to fix an issue with CGI: see the issue #10841.

changeset:   67431:0933c3753a71
user:        Victor Stinner <victor.stinner@haypocalc.com>
date:        Fri Jan 07 18:47:22 2011 +0000
files:       Misc/NEWS Modules/_io/fileio.c Modules/main.c Parser/tokenizer.c
description:
Issue #10841: set binary mode on files; the parser translates newlines

On Windows, set the binary mode on stdin, stdout, stderr and all
io.FileIO objects (to not translate newlines, \r\n <=> \n). The Python parser
translates newlines (\r\n => \n).
History
Date User Action Args
2011-10-07 08:52:33vstinnersetrecipients: + vstinner, amaury.forgeotdarc, M..Z.
2011-10-07 08:52:33vstinnersetmessageid: <1317977553.1.0.752667915145.issue13119@psf.upfronthosting.co.za>
2011-10-07 08:52:32vstinnerlinkissue13119 messages
2011-10-07 08:52:31vstinnercreate