[issue22453] PyObject_REPR macro causes refcount leak
STINNER Victor
report at bugs.python.org
Tue Nov 18 13:22:44 CET 2014
STINNER Victor added the comment:
Serhiy Storchaka wrote:
> But it is expanded to undefined name. So it is not usable in any case.
Ah correct, I didn't notice _PyUnicode_AsString in the expanded result
(I checked with gcc -E).
When Py_LIMITED_API is set, PyObject_REPR(o) is expanded to
_PyUnicode_AsString(PyObject_Repr(o)).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22453>
_______________________________________
More information about the Python-bugs-list
mailing list