You need to sign in or sign up before continuing.
-
Guido van Rossum authored
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").
6203d8fa