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 Claudiu.Popa
Recipients Claudiu.Popa, bquinlan, cool-RR, josh.r
Date 2014-06-22.05:47:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403416060.32.0.934580894184.issue21817@psf.upfronthosting.co.za>
In-reply-to
Content
Hello. Here's a patch based on c4f92b597074, which adds something similar to multiprocessing.pool.
The output after the patch is:

concurrent.futures.process.RemoteTraceback:
"""
Traceback (most recent call last):
  File "D:\Projects\cpython\lib\concurrent\futures\process.py", line 153, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "D:\Projects\cpython\PCbuild\a.py", line 9, in f
    return g()
  File "D:\Projects\cpython\PCbuild\a.py", line 13, in g
    assert False
AssertionError
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "a.py", line 20, in <module>
    future.result()
  File "D:\Projects\cpython\lib\concurrent\futures\_base.py", line 402, in result
    return self.__get_result()
  File "D:\Projects\cpython\lib\concurrent\futures\_base.py", line 354, in __get_result
    raise self._exception
AssertionError


It's a little better than the current output, even though it's a little verbose.
History
Date User Action Args
2014-06-22 05:47:40Claudiu.Popasetrecipients: + Claudiu.Popa, bquinlan, cool-RR, josh.r
2014-06-22 05:47:40Claudiu.Popasetmessageid: <1403416060.32.0.934580894184.issue21817@psf.upfronthosting.co.za>
2014-06-22 05:47:40Claudiu.Popalinkissue21817 messages
2014-06-22 05:47:39Claudiu.Popacreate