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 myint
Recipients myint, r.david.murray, sbt
Date 2014-03-19.15:51:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395244301.01.0.419625109898.issue20980@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-03-19 15:51:41myintsetrecipients: + myint, r.david.murray, sbt
2014-03-19 15:51:41myintsetmessageid: <1395244301.01.0.419625109898.issue20980@psf.upfronthosting.co.za>
2014-03-19 15:51:40myintlinkissue20980 messages
2014-03-19 15:51:40myintcreate