Guide to porting C extension to python free-threaded 3.13?

Is there a guide to porting C extensions to the free-threading build? Or are there modules in the CPython source tree (or external modules) that can serve as examples of what to do?

1 Like

There’s a pending PR to add this. gh-119241: Add HOWTO for free-threaded C API extensions by colesbury · Pull Request #119877 · python/cpython · GitHub. It probably has a reasonable overlap with the Quansight one already linked though

1 Like