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 pitrou
Recipients ncoghlan, pitrou
Date 2012-05-28.13:20:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338211208.4.0.755454859587.issue14934@psf.upfronthosting.co.za>
In-reply-to
Content
In Objects/genobject.c, gen_dealloc() calls PyObject_ClearWeakRefs() before trying to finalize the generator, during which the generator object can be resurrected. This is probably a bug, since weakrefs are supposed to be cleared (and their callbacks called) only when the object is really being destroyed.

(see also issue14933)
History
Date User Action Args
2012-05-28 13:20:08pitrousetrecipients: + pitrou, ncoghlan
2012-05-28 13:20:08pitrousetmessageid: <1338211208.4.0.755454859587.issue14934@psf.upfronthosting.co.za>
2012-05-28 13:20:07pitroulinkissue14934 messages
2012-05-28 13:20:07pitroucreate