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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to