[issue20440] Use Py_REPLACE/Py_XREPLACE macros
Martin v. Löwis
report at bugs.python.org
Sat Feb 1 17:06:27 CET 2014
Martin v. Löwis added the comment:
I think Raymond's original concern still applies: The macros do add to the learning curve. I would personally expect that Py_REPLACE(op, op2) does an INCREF on op2, but it does not.
Explicit is better than implicit.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20440>
_______________________________________
More information about the Python-bugs-list
mailing list