diff options
author | Guido van Rossum <guido@python.org> | 2007-10-29 17:39:59 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-10-29 17:39:59 +0000 |
commit | 196f43d7df70810fd9d3967fc236a5211faea438 (patch) | |
tree | 17d8b37e5163065dd4bee54c622cb00b2f69a52f /Python/pythonrun.c | |
parent | 28a88e92b4b8311ddbe380119feee47168412b23 (diff) | |
download | cpython-196f43d7df70810fd9d3967fc236a5211faea438.tar.gz |
Patch 1341 by Amaury Forgeot d'Arc.
This patch corrects test_fileinput on Windows: when redirecting stdout,
os.open should be given O_BINARY, because the file descriptor is then
wrapped in a text-mode file; os.fdopen(fd, "w").
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions