[issue17206] Py_XDECREF() expands its argument multiple times

Illia Polosukhin report at bugs.python.org
Thu May 16 14:14:51 CEST 2013


Illia Polosukhin added the comment:

Amaury, 

   I didn't update Py_INCREF macro in this patch (because it doesn't expand it's argument multiple times) - so the examples you are showing will be working fine. 

   I've updated Py_XINCREF, but it can't be used as an expression anyway.

----------

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


More information about the Python-bugs-list mailing list