[docs] [issue31983] Officially add Py_SETREF and Py_XSETREF

Raymond Hettinger report at bugs.python.org
Wed Nov 15 11:37:11 EST 2017


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Adding my -1.   My experience was that these macros impaired my ability to maintain the code and interfered with useful patterns like delaying all decrefs until an object was in a consistent state.

While I know that name was bikeshedded quite a bit, the outcome is rather unintuitive:  https://twitter.com/raymondh/status/930535938459025408

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31983>
_______________________________________


More information about the docs mailing list