Yury Selivanov <[email protected]> added the comment: 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. ---------- Added file: http://bugs.python.org/file23639/test.py _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue11682> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
