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, rhettinger, serhiy.storchaka, vstinner
Date 2022-03-28.16:07:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648483660.52.0.7624605628.issue47143@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-03-28 16:07:40vstinnersetrecipients: + vstinner, rhettinger, eric.smith, petr.viktorin, serhiy.storchaka, corona10
2022-03-28 16:07:40vstinnersetmessageid: <1648483660.52.0.7624605628.issue47143@roundup.psfhosted.org>
2022-03-28 16:07:40vstinnerlinkissue47143 messages
2022-03-28 16:07:40vstinnercreate