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 chris-
Recipients Michael.Olson, asksol, chris-, jnoller
Date 2011-08-17.22:42:09
SpamBayes Score 0.08232997
Marked as misclassified No
Message-id <1313620930.61.0.210565534351.issue10015@psf.upfronthosting.co.za>
In-reply-to
Content
A workaround would be to call the following in the thread you want to use ThreadPool:

if not hasattr(threading.current_process(), "_children"):
    threading.current_process()._children = weakref.WeakKeyDictionary()

(putting this in Process could be a very simple patch)
History
Date User Action Args
2011-08-17 22:42:10chris-setrecipients: + chris-, jnoller, asksol, Michael.Olson
2011-08-17 22:42:10chris-setmessageid: <1313620930.61.0.210565534351.issue10015@psf.upfronthosting.co.za>
2011-08-17 22:42:10chris-linkissue10015 messages
2011-08-17 22:42:09chris-create