comparison Python/thread.c @ 43841:ccceaec11442

Fix for #1415 pythonw.exe fails because std streams a missing After a long discussion about the problem with Windows GUI apps Guido decided that sys.stdin, stdout and stderr should be None when the C runtime library returns invalid file descriptors for the standard streams. So far the only known cases are Windows GUI apps and scripts started with pythonw on Windows. The OS restrictions are tight enough to catch the problem on other OSes.
author Christian Heimes <christian@cheimes.de>
date Tue, 13 Nov 2007 02:19:40 +0000
parents a5e984eda45a
children fb5a6330f71b
comparison
equal deleted inserted replaced
43840:73c8e27eb9ce 43841:ccceaec11442