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 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:17scodersetrecipients: + scoder, loewis, amaury.forgeotdarc
2012-02-23 15:38:17scodersetmessageid: <1330011497.73.0.277620087793.issue14098@psf.upfronthosting.co.za>
2012-02-23 15:38:17scoderlinkissue14098 messages
2012-02-23 15:38:17scodercreate