commit | 6203d8fa11eeabac83e908687cc03c1c001a3f8a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Oct 29 17:39:59 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Oct 29 17:39:59 2007 +0000 |
tree | 55a7b3f83e08d97ec57bb1ed1b593991dc476ec8 | |
parent | 3db4686b61a04e2017ac840dadeaf26ddf3f4730 [diff] |
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").