Message154067
| Author |
scoder |
| Recipients |
amaury.forgeotdarc, loewis, scoder |
| Date |
2012年02月23日.15:38:17 |
| SpamBayes Score |
0.00028138157 |
| Marked as misclassified |
No |
| Message-id |
<1330011497.73.0.277620087793.issue14098@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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 |
|