This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Olson
Recipients Michael.Olson, asksol, jnoller
Date 2010-10-17.19:36:57
SpamBayes Score 0.0002659695
Marked as misclassified No
Message-id <1287344219.85.0.410054920876.issue10128@psf.upfronthosting.co.za>
In-reply-to
Content
I wrapped the offending assertion in a if main_name != '__main__'. I considered not checking the module_name against built-in modules but that seemed likely to be the sort of thing being guarded against, so I left it at an exception for __main__.

Ran a few trivial testing using Pool and Process and it seems to work fine.
History
Date User Action Args
2010-10-17 19:36:59Michael.Olsonsetrecipients: + Michael.Olson, jnoller, asksol
2010-10-17 19:36:59Michael.Olsonsetmessageid: <1287344219.85.0.410054920876.issue10128@psf.upfronthosting.co.za>
2010-10-17 19:36:58Michael.Olsonlinkissue10128 messages
2010-10-17 19:36:57Michael.Olsoncreate