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 corona10, eric.smith, petr.viktorin, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2022-03-28.22:15:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648505723.43.0.100141121051.issue47143@roundup.psfhosted.org>
In-reply-to
Content
Note: Implementing a metaclass in Python is hard, it's easy to mess up with closures: see bpo-29270 "ctypes: fail to create a _ctypes._SimpleCData subclass using a closure like calling super() without arguments". type.__new__() is called twice on the same type dict, and the second call overrides the __classcell__ cell value.
History
Date User Action Args
2022-03-28 22:15:23vstinnersetrecipients: + vstinner, rhettinger, pitrou, eric.smith, petr.viktorin, serhiy.storchaka, corona10
2022-03-28 22:15:23vstinnersetmessageid: <1648505723.43.0.100141121051.issue47143@roundup.psfhosted.org>
2022-03-28 22:15:23vstinnerlinkissue47143 messages
2022-03-28 22:15:23vstinnercreate