23 Aug
2022
23 Aug
'22
3:02 a.m.
On 23/8/22 03:16, Matti Picus wrote:
...
One thing CPython could do is to provide clear documentation how to port a small c-extension module [1]
I should have searched the documentation, there is now a quite extensive guide [2] including all the different interfaces provided for getting per-interpreter module state. Matti [2] https://docs.python.org/3.11/howto/isolating-extensions.html [3] https://docs.python.org/3.11/c-api/type.html#c.PyType_GetModuleState