[issue27558] SystemError with bare `raise` in threading or multiprocessing

STINNER Victor report at bugs.python.org
Thu Aug 18 12:19:19 EDT 2016


STINNER Victor added the comment:

Thanks Xiang Zhang. The fix is obvious and simple, but it wasn't easy to identify it ;-) I pushed the fix to Python 3.5 and default (3.6).

Python 2.7 doesn't crash, the bare "raise" statement raises the exception: TypeError('exceptions must be old-style classes or derived from BaseException, not NoneType',). I suggest to not touch Python 2.7 and close the issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27558>
_______________________________________


More information about the Python-bugs-list mailing list