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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27558>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to