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 Yury.Selivanov
Recipients Yury.Selivanov, alex, aronacher, asvetlov, eric.araujo, gcewing, ncoghlan, rfk, rhettinger, rndblnch, zbysz
Date 2011-11-08.22:56:43
SpamBayes Score 8.702214e-06
Marked as misclassified No
Message-id <1320793004.29.0.526189708894.issue11682@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like there is a memory leak bug (on StopIteration exception instances).

Attached is the test to expose it.

It seems that adding 'Py_DECREF(e);' after 'PyErr_SetObject(PyExc_StopIteration, e);' in 'genobject.c' fixes the leak.
History
Date User Action Args
2011-11-08 22:56:44Yury.Selivanovsetrecipients: + Yury.Selivanov, rhettinger, gcewing, ncoghlan, rndblnch, aronacher, eric.araujo, alex, rfk, asvetlov, zbysz
2011-11-08 22:56:44Yury.Selivanovsetmessageid: <1320793004.29.0.526189708894.issue11682@psf.upfronthosting.co.za>
2011-11-08 22:56:43Yury.Selivanovlinkissue11682 messages
2011-11-08 22:56:43Yury.Selivanovcreate