[issue22986] Improved handling of __class__ assignment

Benjamin Peterson report at bugs.python.org
Thu Jan 15 06:27:38 CET 2015


Benjamin Peterson added the comment:

Why do you have all these special cases of ref-counting based on Py_TPFLAGS_HEAPTYPE? "static" types are generally ref-counted, too. (They just hopefully don't reach 0 often. :))

----------

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


More information about the Python-bugs-list mailing list