Author vstinner
Recipients Guido.van.Rossum, Mark.Shannon, christian.heimes, corona10, erlendaasland, gvanrossum, pablogsal, serhiy.storchaka, shihai1991, shreyanavigyan, vstinner
Date 2021-04-30.10:04:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619777097.34.0.872271375505.issue43908@roundup.psfhosted.org>
In-reply-to
Content
> Is this always the case? If so, can we turn the check in check_set_special_type_attr() into an assert? In any case, Py_TPFLAGS_IMMUTABLETYPE should be used, not !Py_TPFLAGS_HEAPTYPE.

I don't know. In case of doubt, I suggest to only replace !Py_TPFLAGS_HEAPTYPE with Py_TPFLAGS_IMMUTABLETYPE.
History
Date User Action Args
2021-04-30 10:04:57vstinnersetrecipients: + vstinner, gvanrossum, christian.heimes, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan
2021-04-30 10:04:57vstinnersetmessageid: <1619777097.34.0.872271375505.issue43908@roundup.psfhosted.org>
2021-04-30 10:04:57vstinnerlinkissue43908 messages
2021-04-30 10:04:57vstinnercreate