[issue29049] Lazy GC tracking frame

INADA Naoki report at bugs.python.org
Mon Dec 26 04:51:11 EST 2016


INADA Naoki added the comment:

> It seems to me, that the part with Py_DECREF should be pushed to older branches.

PyCoro_New() and PyGen_NewWithQualName() steals f reference, and DECREF when error.
So Py_DECREF is not needed when (gen == NULL). My patch was wrong.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29049>
_______________________________________


More information about the Python-bugs-list mailing list