This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Guido.van.Rossum, Mark.Shannon, christian.heimes, corona10, erlendaasland, gvanrossum, pablogsal, serhiy.storchaka, shihai1991, shreyanavigyan, vstinner
Date 2021-04-29.08:19:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619684367.95.0.380113185289.issue43908@roundup.psfhosted.org>
In-reply-to
Content
> BTW, slightly related, AFAICT:
> - https://github.com/python/cpython/blob/e047239eafefe8b19725efffe7756443495cf78b/Objects/typeobject.c#L4620-L4668
> - bpo-24912

object_set_class() must be changed to check for Py_TPFLAGS_IMMUTABLETYPE flag, rather than Py_TPFLAGS_HEAPTYPE.

Erlend: Do you want to write such change?
History
Date User Action Args
2021-04-29 08:19:27vstinnersetrecipients: + vstinner, gvanrossum, christian.heimes, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan
2021-04-29 08:19:27vstinnersetmessageid: <1619684367.95.0.380113185289.issue43908@roundup.psfhosted.org>
2021-04-29 08:19:27vstinnerlinkissue43908 messages
2021-04-29 08:19:27vstinnercreate