[issue38618] Why not use refcount of c.c_filename in PyAST_FromNodeObject()

STINNER Victor report at bugs.python.org
Mon Oct 28 11:32:03 EDT 2019


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

> Due to victor add the desc(`/* borrowed reference */`)

I added the comment, but the code was always like that.

In short, borrowed references are used to simply the implementation (avoid the need to DECREF on error) and/or for efficiency.

I don't understand the purpose of this issue. The bug tracker is not the right place to ask question. If you think that it's a bug, please explain how to trigger the bug.

I suggest to close the issue.

----------

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


More information about the Python-bugs-list mailing list