[issue1415] py3k: pythonw.exe fails because std streams a missing

Christian Heimes report at bugs.python.org
Mon Nov 12 15:46:26 CET 2007


Christian Heimes added the comment:

The patch is a good idea. However it doesn't work for VS 2003 and MSVCR71:

import sys
f = open("stderr.txt", "w")
f.write("stdin: %i\n" % sys.stdin.fileno())
f.write("stdout: %i\n" % sys.stdout.fileno())
f.write("stderr: %i\n" % sys.stderr.fileno())

> pythonw.exe pywtest.py
> type stderr.txt
stdin: -1
stdout: -1
stderr: -1

/me sends another hate letter to Redmond.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1415>
__________________________________


More information about the Python-bugs-list mailing list