Claudiu Popa added the comment:
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.
----------
keywords: +patch
nosy: +Claudiu.Popa
stage: -> patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file35719/issue21817.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com