Serhiy Storchaka added the comment: > While we're bikeshedding, how about the more verbose PY_DECREF_AND_ASSIGN? > That makes it clearer that an INCREF is not done.
Py_ASSIGN_AND_DECREF would be more correct. And Py_CLEAR can be renamed to Py_CLEAR_AND_XDECREF or Py_ASSIGN_NULL_AND_XDECREF. ---------- _______________________________________ 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