Brett Cannon
banner
snarky.ca
Brett Cannon
@snarky.ca
#Python core developer who also works on packaging; works on Python stuff at #Microsoft (although this is a personal account). Proudly #Canadian.
I wrote a blog post ruminating about whether I should rewrite the Python Launcher for Unix in pure Python.

snarky.ca/should-i-rew...
Should I rewrite the Python Launcher for Unix in Python?
I want to be upfront that this blog post is for me to write down some thoughts that I have on the idea of rewriting the Python Launcher for Unix from Rust to pure Python. This blog post is not meant t...
snarky.ca
November 22, 2025 at 12:19 AM
Reposted by Brett Cannon
Wizard Zines is doing another Big Zine Sale again this year on Friday, November 28th! One day only.

here’s a google calendar link for the duration of the sale if you want a reminder: wzrd.page/cal
November 18, 2025 at 4:33 PM
I ran into a typing failure with TypedDict that took some digging and using a new feature coming in Python 3.15 but available today in typing-extensions, so I decided to blog about it: snarky.ca/the-varying-...
The varying strictness of TypedDict
I was writing some code where I was using httpx.get() and its params parameter. I decided to use a TypedDict for the dictionary I was passing as the argument since it was for a REST API, where the pot...
snarky.ca
November 20, 2025 at 9:22 PM
Reposted by Brett Cannon
Coming soon to your favourite new CPython 3.15 profiler 🚀
November 16, 2025 at 7:38 PM
Reposted by Brett Cannon
You've probably heard about the new HexDocs search engine, but did you know its frontend was built in Lustre?

We BEAM together ⭐
November 14, 2025 at 12:42 PM
Reposted by Brett Cannon
Join the Python Software Foundation (PSF) end-of-year fundraiser - your donations and memberships keep the PSF, the Python community, and the language stay strong and sustainable. Python is for everyone, thanks to you! donate.python.org
PSF Fundraiser 2025
The Python Software Foundation is the charitable organization behind the Python programming language.
donate.python.org
November 13, 2025 at 5:02 PM
Reposted by Brett Cannon
EuroPython was absolutely stellar. You should go! 🖤

www.youtube.com/watch?v=4got...
EuroPython 2025 — Conference Opening 🎉
YouTube video by EuroPython Conference
www.youtube.com
November 5, 2025 at 11:42 PM
For anyone who is a Feedbin user like @hynek , I created a small project at github.com/brettcannon/... to help remove duplicate feed entries across your feeds.
GitHub - brettcannon/feedbin-deduplication: Deduplicate unread entries from your Feedbin account
Deduplicate unread entries from your Feedbin account - brettcannon/feedbin-deduplication
github.com
November 5, 2025 at 6:47 PM
Reposted by Brett Cannon
Reposted by Brett Cannon
Glamour UK Magazine made 9 trans women as their collective Women of the Year

Instead of offering congratulations, JK Rowling naturally tried insulting them instead

Glamour’s response, however, is priceless
October 31, 2025 at 9:05 PM
The final release of Python 3.9 is out!

discuss.python.org/t/the-final-...

May you all enjoy using the features added in Python 3.10 if that's now your oldest version. 😁

docs.python.org/3/whatsnew/3...
The final Python 3.9 security fix release is out!
Python 3.9.25 is available now! If you’re still using that, grab the sources and build the update as there’s some final fixes: Security content (low severity) There are no CVEs for those, and so ot...
discuss.python.org
October 31, 2025 at 11:20 PM
Reposted by Brett Cannon
It's true: I've joined @glyph, @offby1, @amethyst and @petrillic in gift-matching donations to @ThePSF

I've done gift matching before, because I think the PSF is doing tremendous work and I want more people to realize that. I was planning on doing gift matching for the end-of-year, but this way […]
Original post on social.coop
social.coop
October 31, 2025 at 2:59 PM
Reposted by Brett Cannon
do i have any connections with the linux foundation following me? if so, can you dm me? :)
October 31, 2025 at 6:32 PM
Reposted by Brett Cannon
This week, the #python Software Foundation rejected a $1.5MM NSF grant, due to a requirement that the PSF abandon diversity work.

So I joined forces with Python folks (@offby1, @petrillic, @amethyst) and we're matching up to $12,000 of donations to the PSF. 🧵
October 29, 2025 at 9:26 PM
Reposted by Brett Cannon
Looking to make a CPython contribution? I'm going to start working on maintaining a "Good First Issue" board for argparse.

If you're interested, have a look and let me know on the GitHub issue if you have any questions. Happy to help 🤝🏻!

github.com/orgs/python/...
Argparse issues • python
Argparse issues
github.com
October 28, 2025 at 2:49 AM
Maybe someone who knows the Bluesky APIs and AT protocol can tell me if I'm wrong, but I haven't found a way to programmatically update my muted words list or mute a thread. Am I missing something?
October 28, 2025 at 12:11 AM
Reposted by Brett Cannon
They say "don't read the comments" but I think the ratio of good vs bad comments in this thread makes it very, very worthwhile.

Also, the *reach* has been amazing. I've seen reposts from people I follow for very non-Python reasons (not mutuals!), who as far as I know have never posted or […]
Original post on social.coop
social.coop
October 27, 2025 at 9:35 PM
Reposted by Brett Cannon
TLDR; The PSF has made the decision to put our community and our shared diversity, equity, and inclusion values ahead of seeking $1.5M in new revenue. Please read and share. pyfound.blogspot.com/2025/10/NSF-...
🧵
The official home of the Python Programming Language
www.python.org
October 27, 2025 at 2:47 PM
Reposted by Brett Cannon
We are still looking for feedback on tsgo, but it is worth calling out we expect some type-checking changes that you may need to adapt to.

The native previews are easy to grab from npm, and are published nightly to try out!

www.npmjs.com/package/@typ...
October 24, 2025 at 12:22 AM
Reposted by Brett Cannon
Gleam is entirely funded by sponsorship, and it has dropped over the last 3 months.
If you like Gleam please sponsor, or ask your employer to sponsor. Every contribution is meaningful, no matter how small.
Thank you so much! 💖
github.com/sponsors/gle...
Sponsor @gleam-lang on GitHub Sponsors
Support friendly, fun, and scalable type-safe programming with Gleam!
github.com
October 24, 2025 at 9:47 AM
Reposted by Brett Cannon
Here's @savannah.dev's first feature in Typer 😎

Suggest commands on error 🙋

Available in Typer 0.20.0 just released 🎉

Read the new docs: typer.tiangolo.com/tutorial/com...
October 20, 2025 at 5:14 PM
Reposted by Brett Cannon
Something isn't done yet? It can't be because that thing is really hard, maintainer. No, it must be because you don't want to do it.
October 20, 2025 at 6:43 PM
Reposted by Brett Cannon
Gentle reminder that if you’re stuck in the Adobe Creative Cloud ecosystem for whatever reason, you can start the cancellation process, select “too expensive” as your cancellation reason, and there should be a 50% off rate on the next screen.
October 21, 2025 at 7:05 PM
In case you prefer text over video, the blog post version of my #EuroPython keynote about why it took 4 years to get a lock files specification for #Python is now up at snarky.ca/why-it-took-... .
Why it took 4 years to get a lock files specification
(This is the blog post version of my keynote from EuroPython 2025 in Prague, Czechia.) We now have a lock file format specification. That might not sound like a big deal, but for me it took 4 years o...
snarky.ca
October 11, 2025 at 3:48 AM
Reposted by Brett Cannon
In case any other horror movie fans want to lock in with me for the rest of the month, I've put together a list of movies I'm watching/rewatching.

letterboxd.com/seaquenched/...
Savannah's 31 Days of Halloween 2025
A list of 98 films compiled on Letterboxd, including You Won't Be Alone (2022), The Witch (2015), The Wicker Man (1973), A Dark Song (2016) and A Nightmare on Elm Street (1984).
letterboxd.com
October 5, 2025 at 9:34 PM