diff options
author | Guido van Rossum <guido@python.org> | 2007-10-29 17:39:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-10-29 17:39:59 (GMT) |
commit | 6203d8fa11eeabac83e908687cc03c1c001a3f8a (patch) | |
tree | 55a7b3f83e08d97ec57bb1ed1b593991dc476ec8 /Python | |
parent | 3db4686b61a04e2017ac840dadeaf26ddf3f4730 (diff) | |
download | cpython-6203d8fa11eeabac83e908687cc03c1c001a3f8a.zip cpython-6203d8fa11eeabac83e908687cc03c1c001a3f8a.tar.gz cpython-6203d8fa11eeabac83e908687cc03c1c001a3f8a.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions