Message416180
In the Python C API, PEP 384 added PyType_FromSpec(). There is also PyStructSequence_NewType(). PEP 3121 proposed PyType_Copy() but it was never implemented: see bpo-3760. But in C, closures are implemented using a module state, or previously using a global or static variable: cell objects are not used for types implemented in C. |
|
Date |
User |
Action |
Args |
2022-03-28 16:07:40 | vstinner | set | recipients:
+ vstinner, rhettinger, eric.smith, petr.viktorin, serhiy.storchaka, corona10 |
2022-03-28 16:07:40 | vstinner | set | messageid: <1648483660.52.0.7624605628.issue47143@roundup.psfhosted.org> |
2022-03-28 16:07:40 | vstinner | link | issue47143 messages |
2022-03-28 16:07:40 | vstinner | create | |
|