Michael Kennedy
Michael Kennedy's Thoughts on Technology
Tools
Topics
Courses
Talk Python
Python Bytes
Open Source
AI Enablement
About
© 2006 - 2026 Michael Kennedy
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.
Nov 6, 2026