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

2011-08-17 Thread Christian
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

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

2010-10-02 Thread Michael Olson
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

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

2010-10-02 Thread R. David Murray
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 ___

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

2010-10-02 Thread Jesse Noller
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. -- ___