STINNER Victor <victor.stin...@haypocalc.com> added the comment: 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.stin...@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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13119> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com