Antoine Pitrou <pit...@free.fr> added the comment: Possible patch (checked to work in a Windows 7 VM):
Index: Lib/test/regrtest.py =================================================================== --- Lib/test/regrtest.py (révision 83938) +++ Lib/test/regrtest.py (copie de travail) @@ -547,7 +547,8 @@ popen = Popen([sys.executable, '-E', '-m', 'test.regrtest', '--slaveargs', json.dumps(args_tuple)], stdout=PIPE, stderr=PIPE, - universal_newlines=True, close_fds=True) + universal_newlines=True, + close_fds=(os.name != 'nt')) stdout, stderr = popen.communicate() # Strip last refcount output line if it exists, since it # comes from the shutdown of the interpreter in the subcommand. ---------- stage: needs patch -> patch review _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9433> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com