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 ncoghlan
Recipients Martin Teichmann, Martin.Teichmann, Tim.Graham, eric.snow, ncoghlan, python-dev, serhiy.storchaka
Date 2016-10-10.11:38:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476099525.58.0.985309034716.issue28214@psf.upfronthosting.co.za>
In-reply-to
Content
You're right, RuntimeError is a more suitable exception type.

So +1 for the second version of the patch that uses `__cause__` and the patch itself looks good to me.
History
Date User Action Args
2016-10-10 11:38:45ncoghlansetrecipients: + ncoghlan, python-dev, eric.snow, serhiy.storchaka, Martin.Teichmann, Tim.Graham, Martin Teichmann
2016-10-10 11:38:45ncoghlansetmessageid: <1476099525.58.0.985309034716.issue28214@psf.upfronthosting.co.za>
2016-10-10 11:38:45ncoghlanlinkissue28214 messages
2016-10-10 11:38:45ncoghlancreate