commit | 89e343660623862acbd40cc617b4af262d6c799f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jan 07 18:47:22 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jan 07 18:47:22 2011 +0000 |
tree | 6ffb758ccc88b03797670e983e9e2917a33fc77c | |
parent | bdde5061163bd773f56e3774f38fa80344267f6f [diff] |
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).