[issue42262] [C API] Add Py_NewRef() function to get a new strong reference to an object

STINNER Victor report at bugs.python.org
Wed Nov 4 11:31:42 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> The problem in these patterns is that the object has to be written twice.

I'm talking about the variable name which has to be repeated (written twice) in the source code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42262>
_______________________________________


More information about the Python-bugs-list mailing list