Author Romuald
Recipients Romuald
Date 2016-07-18.06:26:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468823203.61.0.708048243679.issue27558@psf.upfronthosting.co.za>
In-reply-to
Content
Raising without a previous exception inside a method called from multiprocessing.dummy.Pool.map will trigger a SystemError.

SystemError: PyEval_EvalFrameEx returned NULL without setting an error


Traceback (most recent call last):
  File "example.py", line 16, in <module>
    main()
  File "example.py", line 11, in main
    result = pool.map(test, [1])
  File "/usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/pool.py", line 260, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/pool.py", line 608, in get
    raise self._value
  File "/usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
SystemError: PyEval_EvalFrameEx returned NULL without setting an error


Reproducible example is attached
History
Date User Action Args
2016-07-18 06:26:43Romualdsetrecipients: + Romuald
2016-07-18 06:26:43Romualdsetmessageid: <1468823203.61.0.708048243679.issue27558@psf.upfronthosting.co.za>
2016-07-18 06:26:43Romualdlinkissue27558 messages
2016-07-18 06:26:43Romualdcreate