Twitxy Saved

Michael Kennedy

@mkennedy

A Python enthusiast and entrepreneur. Host of @TalkPython and @PythonBytes, founder of Talk Python Training. Python Software Foundation Fellow.
Portland, OR, USA mkennedy.codes Joined February 2008
5K Following 29K Followers 13K Posts

Latest posts 5

Pinned post

Michael Kennedy @mkennedy
A new project I just released: chameleon-rs:

Chameleon templates, modernized: a Rust engine that runs Chameleon templates unchanged, several times faster, with async rendering and built-in framework integrations.

mkennedy.codes/docs/chameleon…
mkennedy.codes chameleon-rs | chameleon-rs Chameleon templates, modernized: a Rust engine that runs Chameleon templates unchanged, several times faster, with async rendering and built-in framework integrations.
8 replies 3 reposts 50 likes 2.5K views View on X
Michael Kennedy @mkennedy
Announcing a new project to help push free-threaded #Python forward :)

gilguard is a tiny package. Import it first. If any later import quietly turns the GIL back on, you get an error naming the extension module, the package that shipped it,

mkennedy.codes/posts/catch-th…
mkennedy.codes 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.
4 replies 2 reposts 29 likes 1.2K views View on X