Brett Cannon
banner
brettcannon.fosstodon.org.ap.brid.gy
Brett Cannon
@brettcannon.fosstodon.org.ap.brid.gy
#Python core developer; principal software engineer for #Microsoft working on Python stuff (although opinions my own, etc., etc.); snarky #Canadian

[bridged from https://fosstodon.org/@brettcannon on the fediverse by https://fed.brid.gy/ ]
Heads up that I will be migrating this account to https://mastodon.social/@brettcannon shortly (assuming everything goes well). I believe the most visible thing that will happen is if I follow you I will show up as following you again from the new account.

The impetus for this was […]
Original post on fosstodon.org
fosstodon.org
June 6, 2025 at 4:03 AM
How did MCP get standardized before a location for prompt files? I'm rather dumbfounded that I can't write a single prompt file for a repo and just have the models all pick it up automatically without some editor-specific setting.
June 5, 2025 at 4:33 PM
Reposted by Brett Cannon
The PSF Developers-in-Residence program makes this possible, check out how the @ThePSF supports the Python ecosystem with full-time staffing:

https://www.python.org/psf/developersinresidence/
PSF Developers in Residence
The official home of the Python Programming Language
www.python.org
June 3, 2025 at 9:51 PM
Reposted by Brett Cannon
Thanks to the work of Python Release Managers and all the Developers-in-Residence we have a coordinated #python #security release of all versions for 5 CVEs all in one day (1 critical, 3 high, 1 medium) […]
Original post on fosstodon.org
fosstodon.org
June 3, 2025 at 9:48 PM
Reposted by Brett Cannon
Perl: 37 years old
Python: 34 years old
June 3, 2025 at 11:10 PM
Reposted by Brett Cannon
dependency groups 🥰
June 4, 2025 at 10:11 AM
AI failed: paragraph-formatted spec using something introduced in Python 3.12 (Claude Sonnet 3.7 came the closest to succeeding; Claude 4 wasn't out yet)
AI nailed: updating a Dockerfile so that it downloaded the right file for the CPU architecture (I told it the final outcome and to update CI […]
Original post on fosstodon.org
fosstodon.org
May 29, 2025 at 4:34 AM
I'm looking for a functions-as-a-service with a cron/schedule trigger. I have found some, but I'm wondering if I'm missing any (I'll take any that can run Python, Rust, JS via ReScript or Gleam, or BEAM via Gleam)? […]
Original post on fosstodon.org
fosstodon.org
May 29, 2025 at 4:04 AM
I was poking around the Mastodon APIs and I can't find a way to have a bot hide individual posts for me, only update my filters list. Am I missing something?
May 27, 2025 at 5:07 AM
Went through various Pocket replacements this weekend. I wanted a read queue that has strips out superfluous stuff from the page (i.e. not bookmarking, so that eliminated Raindrop, Linkwarden).

I tried:
- Readwise: nice, but too expensive just for this and RSS not powerful enough to unseat […]
Original post on fosstodon.org
fosstodon.org
May 26, 2025 at 11:47 PM
I want a mobile OS where apps are nothing more than PWAs or WebAssembly with worlds standardized by the Bytecode Alliance.
May 25, 2025 at 7:15 PM
I just got the "Admired" badge on discuss.python.org, and I'm only the 2nd person after @pfmoore to get it.

https://discuss.python.org/badges/31/admired

I don't know what that says about Paul and me that we have posted over 300 times, let alone that many times with at least at least 5 likes. 😅
May 23, 2025 at 10:55 PM
Just booked everything for #europython2025 ! I will be there Tuesday - Friday, so I will be at the #webassembly summit, my keynote, and everything else in the main conference!

I will be staying with what seems like the rest of the conference in the Grand Hotel Prague Towers Monday through […]
Original post on fosstodon.org
fosstodon.org
May 23, 2025 at 10:39 PM
Reposted by Brett Cannon
Once again, if your LLM system combines access to private data, exposure to malicious instructions and the ability to exfiltrate information (through tool use or through rendering links and images) you have a nasty security hole

This time, GitLab […]
Original post on fedi.simonwillison.net
fedi.simonwillison.net
May 23, 2025 at 2:46 PM
If I had a connection in Munich from Canada to Prague and I had 1h45m to make that connection (so I suspect customs and security), is that enough time? It would be on Lufthansa the whole way if that helps.

Otherwise I'm looking at 1h10m in Zurich (seems too short), 1h47m in Toronto (which is a […]
Original post on fosstodon.org
fosstodon.org
May 22, 2025 at 9:37 PM
Mozilla is shutting down Pocket.

https://getpocket.com/farewell

Where to next? @instapaper ?
Pocket
getpocket.com
May 22, 2025 at 7:04 PM
@pauleveritt I just started to listening to the Talk Python to Me episode on t-strings, and I can tell you that according to https://opensource.snarky.ca/About+Me/Appearances , @mkennedy has not found me interesting enough to be on since Dec 2023, so I have 3.5 years left to be boring 😉
Appearances - Open Source by Brett Cannon
Appearances - Open Source by Brett Cannon
opensource.snarky.ca
May 20, 2025 at 12:56 AM
The trailer for the Python documentary is out!

https://youtu.be/pqBqdNIPrbo?si=9LLlghqZkJRAcnpF
May 18, 2025 at 5:08 PM
I wrote a blog post unravelling t-strings to help explain what they are doing -- providing syntactic access to the f-string parser -- while we wait on the official docs.

https://snarky.ca/unravelling-t-strings/

/cc @pauleveritt @lysnikolaou
Unravelling t-strings
PEP 750 introduced t-strings for Python 3.14. In fact, they are so new that as of Python 3.14.0b1 there still isn't any documentation yet for t-strings. 😅 As such, this blog post will hopefully help explain what exactly t-strings are and what you might use them for by
snarky.ca
May 16, 2025 at 5:25 AM
There were layoffs at MS yesterday and 3 #python core devs from the Faster CPython team were caught in them. If you know of any jobs, please send them their way (they kind of know Python, CPython, and its internals well 😉):

Eric Snow: https://www.linkedin.com/in/ericsnowcurrently/
Irit Katriel: […]
Original post on fosstodon.org
fosstodon.org
May 14, 2025 at 9:17 PM
If you open an issue and use "GPT" as a verb then I'm going to assume your solution is wrong. Not because using AI is inherently bad, but because I'm going to assume you don't understand the problem or solution and you just "prompted" the problem away.
May 10, 2025 at 12:04 AM
Someone didn't vibe code the tests?
May 9, 2025 at 6:05 PM
May 6, 2025 at 7:21 PM