summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-29 17:39:59 +0000
committerGuido van Rossum <guido@python.org>2007-10-29 17:39:59 +0000
commit196f43d7df70810fd9d3967fc236a5211faea438 (patch)
tree17d8b37e5163065dd4bee54c622cb00b2f69a52f /Python/pythonrun.c
parent28a88e92b4b8311ddbe380119feee47168412b23 (diff)
downloadcpython-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