Free-Threading

Catch the import. Name the culprit. Keep threads free: Introducing gilguard On free-threaded Python, one import can quietly turn the GIL back on for good. gilguard turns that moment into an error that names the module, the package, and the line of your code that pulled it in.