Message216354
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. =) |
|
Date |
User |
Action |
Args |
2014-04-15 18:12:29 | brett.cannon | set | recipients:
+ brett.cannon |
2014-04-15 18:12:29 | brett.cannon | set | messageid: <1397585549.14.0.873533303783.issue21243@psf.upfronthosting.co.za> |
2014-04-15 18:12:29 | brett.cannon | link | issue21243 messages |
2014-04-15 18:12:28 | brett.cannon | create | |
|