[issue20440] Use Py_REPLACE/Py_XREPLACE macros

Kristján Valur Jónsson report at bugs.python.org
Wed Feb 26 18:29:12 CET 2014


Kristján Valur Jónsson added the comment:

Barring c++, are we using any C compilers that don't support inlines?
Imho these macros should be functions proper.  Then we could do
Py_Assign(&target, Py_IncRef(obj))

It's 2014 already.

----------

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


More information about the Python-bugs-list mailing list