[issue10015] Creating a multiprocess.pool.ThreadPool from a child thread blows up.

Alister Cordiner report at bugs.python.org
Thu Oct 27 07:47:33 CEST 2011


Alister Cordiner <acordiner at gmail.com> added the comment:

I think that workaround should be:

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

----------
nosy: +acordiner

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


More information about the Python-bugs-list mailing list