[issue24912] The type of cached objects is mutable

STINNER Victor report at bugs.python.org
Fri Apr 30 06:43:57 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

Update: a new Py_TPFLAGS_IMMUTABLETYPE flag was added in bpo-43908, and it's now checked rather than relying on Py_TPFLAGS_HEAPTYPE to decide if a type is "mutable" or not.

----------
nosy: +ned.deily

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


More information about the Python-bugs-list mailing list