Message154067
Writing up a test case, I noticed that it makes sense to let PyErr_SetExcInfo() steal the references. This matches the main use case of saving and restoring the fields. For the getter, it's still best to return new references in order to support the use case of just reading the fields, as well as the use case of reading and clearing the fields (which a subsequent call to PyErr_SetExcInfo(NULL,NULL,NULL) does). |
|
Date |
User |
Action |
Args |
2012-02-23 15:38:17 | scoder | set | recipients:
+ scoder, loewis, amaury.forgeotdarc |
2012-02-23 15:38:17 | scoder | set | messageid: <1330011497.73.0.277620087793.issue14098@psf.upfronthosting.co.za> |
2012-02-23 15:38:17 | scoder | link | issue14098 messages |
2012-02-23 15:38:17 | scoder | create | |
|