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 georg.brandl
Recipients effbot, georg.brandl, vstinner
Date 2008-07-06.19:34:40
SpamBayes Score 0.018314833
Marked as misclassified No
Message-id <1215372882.7.0.0791721269622.issue3299@psf.upfronthosting.co.za>
In-reply-to
Content
> It can also be used in constructors, to destroy an object that was just
> created if something goes wrong.

It appears that this is not true in debug builds: PyObject_NEW adds the
object to the global linked list of all objects, which PyObject_DEL
obviously doesn't undo.  Therefore, when the object created immediately
before is deallocated (in this case the argument tuple to finditer()), a
fatal error will be caused.
History
Date User Action Args
2008-07-06 19:34:42georg.brandlsetspambayes_score: 0.0183148 -> 0.018314833
recipients: + georg.brandl, effbot, vstinner
2008-07-06 19:34:42georg.brandlsetspambayes_score: 0.0183148 -> 0.0183148
messageid: <1215372882.7.0.0791721269622.issue3299@psf.upfronthosting.co.za>
2008-07-06 19:34:41georg.brandllinkissue3299 messages
2008-07-06 19:34:40georg.brandlcreate