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 vstinner
Recipients Romuald, abarry, berker.peksag, davin, pitrou, python-dev, r.david.murray, rhettinger, vstinner, xiang.zhang, ztane
Date 2016-08-18.16:19:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471537158.98.0.486117482278.issue27558@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-08-18 16:19:19vstinnersetrecipients: + vstinner, rhettinger, pitrou, r.david.murray, python-dev, berker.peksag, ztane, Romuald, davin, xiang.zhang, abarry
2016-08-18 16:19:18vstinnersetmessageid: <1471537158.98.0.486117482278.issue27558@psf.upfronthosting.co.za>
2016-08-18 16:19:18vstinnerlinkissue27558 messages
2016-08-18 16:19:18vstinnercreate