Message214106
I didn't quite understand the multiprocessing test cases, but attached is a standalone test case that reproduces the problem. The problem only shows up when using ThreadPool.
$ python thread_pool_exception_test.py
Traceback (most recent call last):
File "thread_pool_exception_test.py", line 7, in <module>
pool.map(exception, [1])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/pool.py", line 255, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/pool.py", line 594, in get
raise self._value
TypeError: exceptions must derive from BaseException |
|
Date |
User |
Action |
Args |
2014-03-19 15:51:41 | myint | set | recipients:
+ myint, r.david.murray, sbt |
2014-03-19 15:51:41 | myint | set | messageid: <1395244301.01.0.419625109898.issue20980@psf.upfronthosting.co.za> |
2014-03-19 15:51:40 | myint | link | issue20980 messages |
2014-03-19 15:51:40 | myint | create | |
|