STINNER Victor <vstinner at python.org> added the comment: check_set_special_type_attr() must also be updated to check for Py_TPFLAGS_IMMUTABLETYPE flag. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue43908> _______________________________________