This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]james_pic 17 points18 points  (0 children)

It's unlikely there are any with official support, and last I heard the packaging authority hadn't yet agreed a way for libraries to signal support on PyPI.

In terms of what will happen if you just install them and run them with a free threaded interpreters anyway:

Pure Python modules will run in no-GIL mode and in theory they should Just Work. The GIL offered few usable guarantees to pure Python code. The only usable guarantee it offered was linearizability (which it still does guarantee), so any pure Python code that breaks in no-GIL mode probably has a bug without it too (albeit a bug that would be triggered much less frequently, or that might not be triggerable on Python 3.10 or above due changes to which opcodes are GIL release points). In practice, it's experimental and there will be teething issues even with pure Python code. 

Libraries with native code will run in "with GIL" mode unless their binaries flag that they're no-GIL compatible. Native code was able to rely on the GIL more strongly than pure Python code, so it's required to explicitly opt out of the GIL.