Tal Einat added the comment:

PY_ASSIGN_AND_DECREF could seem to imply that the assigned value is DECREF-ed. 
I think PY_DECREF_AND_ASSIGN makes it clearer that the original value is 
DECREF-ed.

I like PY_ASSIGN_NULL_AND_DECREF, though for the same reason as above, I'd name 
it PY_DECREF_AND_ASSIGN_NULL.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20440>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to