[issue12098] Child process running as debug on Windows

Antoine Pitrou report at bugs.python.org
Wed May 25 18:23:49 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Ok, thanks for the patches. Some further comments:
- 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...
- in the tests, proc_flags() could simply return tuple(sys.flags). This is simpler and easier to maintain.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12098>
_______________________________________


More information about the Python-bugs-list mailing list