Christian brugger@googlemail.com added the comment:
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
New submission from Michael Olson ol...@irinim.net:
Using Python 2.7 x32 on Windows XP
Attempting to create a multiprocessing.pool.ThreadPool
in a child thread created using threading.Thread, an
AttributeError is thrown. A ThreadPool created in the
main thread can be passed to the child thread
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +asksol, jnoller
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10015
___
Jesse Noller jnol...@gmail.com added the comment:
I can not, for the life of me, remember why ThreadPool is there, except as a
fallback. It's also not part of the documented interface as well. Additionally,
in Python 3 we now have futures.
--
___