Explicit GIL-Free Support: New C APIs for Extension Compatibility

C extensions must explicitly declare GIL-free compatibility using new mechanisms like the `Py_mod_gil` slot or `PyUnstable_Module_SetGIL()`, alongside adopting new C APIs for thread-safe object and memory management.

Sources

Open the full topic