[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

Matt Chaput report at bugs.python.org
Fri Feb 18 01:34:05 CET 2011


Matt Chaput <matt at whoosh.ca> added the comment:

Thank you, I understand all that, but I don't think you understand the issue. My code is not __main__. I am not starting the test suite. It's the distutils/nose code that's doing that.

It seems as if the multiprocessing module is starting new Windows processes by duplicating the command line of the original process. That doesn't seem to work very well, given the example of running test suites, hence the bug.

----------

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


More information about the Python-bugs-list mailing list