[issue12098] Child process running as debug on Windows
report at bugs.python.org
Mon May 14 15:28:37 CEST 2012
Richard Oudkerk <shibturn at gmail.com> added the comment:
> - the function generating the flags should be exported (with a private
> name), so that it can be reused by Lib/test/[test_]support.py. Duplicate
> code is error-prone, especially when enumerating command-line flags,
> attribute names...
Failure to build _multiprocessing will mean that multiprocessing cannot be imported. So if the function goes somewhere in multiprocessing then it makes running the test suite with multiple processes dependent on the building of _multiprocessing. Not sure if that is much of a problem since one can just run the test suite normally.
Also I don't think "-i" (inspect/interactive) should be passed on: a child process's stdin is os.devnull.
BTW, why isn't the use of "-u" (unbuffered stdout, stderr) reflected in sys.flags?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list