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 brett.cannon
Recipients brett.cannon
Date 2014-04-15.18:12:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397585549.14.0.873533303783.issue21243@psf.upfronthosting.co.za>
In-reply-to
Content
There isn't very much that's special about the various exceptions (although maybe there will be some day). Anyway, it seems like we could, if we so desired, define the exceptions in Python and then auto-generate the C code.

The other option is to obviously just load the exceptions from Python code, store the various objects in various C attributes, and update the C API for exceptions to operate off of the Python-defined exception objects (question is what performance impact that would have).

The key question, though, is whether any of this is actually worth it. =)
History
Date User Action Args
2014-04-15 18:12:29brett.cannonsetrecipients: + brett.cannon
2014-04-15 18:12:29brett.cannonsetmessageid: <1397585549.14.0.873533303783.issue21243@psf.upfronthosting.co.za>
2014-04-15 18:12:29brett.cannonlinkissue21243 messages
2014-04-15 18:12:28brett.cannoncreate