Message416221
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. |
|
Date |
User |
Action |
Args |
2022-03-28 22:15:23 | vstinner | set | recipients:
+ vstinner, rhettinger, pitrou, eric.smith, petr.viktorin, serhiy.storchaka, corona10 |
2022-03-28 22:15:23 | vstinner | set | messageid: <1648505723.43.0.100141121051.issue47143@roundup.psfhosted.org> |
2022-03-28 22:15:23 | vstinner | link | issue47143 messages |
2022-03-28 22:15:23 | vstinner | create | |
|