Thursday, April 17, 2014

Fix for a bug with unittest and multiprocessing on Python 2.x on Windows

There is a bug in all Pythons up to 2.7.6 (i.e. all 2.x so far) that breaks using unittest and multiprocessing module on Windows.

If you see complaints about __main__ in multiprocessing/ that's this bug

To fix, patch your global python with this fix

It's fixed in new Pythons 3.x but haven't been backported to 2.x yet

No comments: