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]


Matti
[1] https://github.com/python/cpython/issues/79601


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

_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to