[Python-Dev] 3.2b2 fails test suite on (my) Windows XP (original) (raw)

Dj Gilcrease digitalxero at gmail.com
Fri Jan 7 02:55:47 CET 2011


On Thu, Jan 6, 2011 at 1:00 AM, Terry Reedy <tjreedy at udel.edu> wrote:

On 1/5/2011 8:59 PM, Nick Coghlan wrote: Run 3: -x testcapi testconcurrentfutures Instead of the normal output I expected, I got some of the craziest stuff I have ever seen. Things like "  assert mainname not in sys.modules, mainname AssertionError: main Traceback (most recent call last):  File "", line 1, in  File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 369, in main  prepare(preparationdata)  File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 477, " were printed 100s of times intermixed with the normal sequential test startup lines. They stopped after textsax started and output became normal through the end of the report.

The 100's or 1000's of processes popping up is cause by a test that uses multi-processing and failing to have the if name == 'main' check around where it creates the processes



More information about the Python-Dev mailing list