Brett Cannon's Avatar

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.

4,012
Followers
91
Following
521
Posts
31.08.2024
Joined
Posts Following

Latest posts by Brett Cannon @snarky.ca

Preview
B.C. to end time changes, adopt year-round daylight time | CBC News March 8 will be the last time British Columbians have to change their clocks, B.C. Premier David Eby announced Monday.

BC is getting rid of changing the time after spring forward March 6! Pacific Time FTW!

BC got tired of waiting for the west coast of the US to get their act together to change simultaneously.

www.cbc.ca/news/canada/...

02.03.2026 21:16 πŸ‘ 7 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
State of WASI support for CPython: March 2026 It's been a while since I posted about WASI support in CPython! πŸ˜… Up until now, most of the work I have been doing around WASI has been making its maintenance easier for me and other core developers. ...

Wrote a blog post to give a status update on WASI support for CPython as PEP 816 got accepted!

snarky.ca/state-of-was...

02.03.2026 19:31 πŸ‘ 26 πŸ” 8 πŸ’¬ 1 πŸ“Œ 0
Navy background, pink headline "New ways to support Gleam!"; below the headline there's a graphic that shows screen of the "Sponsor" page from gleam.run and its text: "Sponsorship and donations. Support Gleam's development by sponsoring us! he Gleam project" and the description as well as 3 pink buttons: Github Sponsors, Bank Transfer, Liberapay.

Navy background, pink headline "New ways to support Gleam!"; below the headline there's a graphic that shows screen of the "Sponsor" page from gleam.run and its text: "Sponsorship and donations. Support Gleam's development by sponsoring us! he Gleam project" and the description as well as 3 pink buttons: Github Sponsors, Bank Transfer, Liberapay.

Thanks to one of the discussions at the #GleamGathering, we decided to add more options to support Gleam development financially: now you can do it via direct bank transfer ⭐

All the details: gleam.run/sponsor

26.02.2026 18:32 πŸ‘ 25 πŸ” 11 πŸ’¬ 0 πŸ“Œ 0
Preview
FastAPI Extension - Visual Studio Marketplace Extension for Visual Studio Code - VS Code extension for FastAPI development

I've been working on something very cool for the past few months and today, it's finally yours!

The *official* @fastapi.tiangolo.com extension for VS Code has launched! πŸŽ‰

Install: marketplace.visualstudio.com/items?itemNa...
GitHub: github.com/fastapi/fast...

26.02.2026 20:09 πŸ‘ 30 πŸ” 8 πŸ’¬ 2 πŸ“Œ 2

The raise of AI coding tools isn't a surprise because they have the potential to eliminate one of the largest software development productivity killers: searching for usage examples.

24.02.2026 15:33 πŸ‘ 67 πŸ” 9 πŸ’¬ 2 πŸ“Œ 1
Preview
Fact Check: Jesse Singal Lies About Trans Care At The New York Times The New York Times spreads misinformation about transgender people yet again.

1. The New York Times, unsurprisingly, has released yet another hit piece on transgender people.

This time, it comes from Jesse Singal.

I fact check it in my latest piece.

End your NYT subscription, and put it towards people doing good work on the issue.

Subscribe to support our journalism.

24.02.2026 21:33 πŸ‘ 2370 πŸ” 848 πŸ’¬ 52 πŸ“Œ 56

Maybe you all can use Gleam or something to improve the morale πŸ˜‰

24.02.2026 00:28 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Subcommands with lazy imports In case you didn't hear, PEP 810 got accepted which means Python 3.15 is going to support lazy imports! One of the selling points of lazy imports is with code that has a CLI so that you only import co...

I've started to play with lazy imports thanks to my WASI build script being in CPython's repo, and so I wrote a post about how to adapt your code for running subcommands with argparse to play nicely with lazy imports.

snarky.ca/subcommands-...

21.02.2026 22:46 πŸ‘ 18 πŸ” 7 πŸ’¬ 1 πŸ“Œ 0
Dennis nedry jurrasic park "see nobody cares" meme reads

Hey everybody, this guy still posts on X!

See? Everyone is horrified and disappointed. They feel it speaks directly to your values.

Dennis nedry jurrasic park "see nobody cares" meme reads Hey everybody, this guy still posts on X! See? Everyone is horrified and disappointed. They feel it speaks directly to your values.

18.02.2026 20:13 πŸ‘ 18805 πŸ” 3702 πŸ’¬ 150 πŸ“Œ 30
19.02.2026 19:43 πŸ‘ 72 πŸ” 11 πŸ’¬ 0 πŸ“Œ 0
Preview
Vote to promote Itamar Oren I think it’s time to promote Itamar Oren to the Core Team. poll Itamar has been a triager since July 2023, has given two Language Summit talks and organized the 2024 Core Dev sprint at Meta in Bellev...

Please welcome the newest member to the CPython core team, Itamar Oren!

discuss.python.org/t/vote-to-pr...

hugovk.github.io/python-core-...

#Python #CPython #CoreTeam

17.02.2026 20:22 πŸ‘ 20 πŸ” 7 πŸ’¬ 0 πŸ“Œ 0
Preview
PEP 814: Add frozendict built-in type After careful deliberation, the Python Steering Council is pleased to accept PEP 814 – Add frozendict built-in type. The absence of an immutable dict counterpart has been a long-standing gap in Pytho...

Stoked to share that the Steering Council has accepted PEP 814. frozendict is coming to Python 3.15!

discuss.python.org/t/pep-814-ad...

11.02.2026 17:13 πŸ‘ 58 πŸ” 13 πŸ’¬ 0 πŸ“Œ 1
Preview
[PERF] Replace np.column_stack with np.vstack().T by crabby-rathbun Β· Pull Request #31132 Β· matplotlib/matplotlib This PR addresses issue #31130 by replacing specific safe occurrences of np.column_stack with np.vstack().T for better performance. IMPORTANT: This is a more targeted fix than originally proposed. ...

So this is dystopian as hell and I can't believe this is real...

AI agents are now writing takedown blog posts to shame maintainers for not accepting agent-generated PRs.

github.com/matplotlib/m...

12.02.2026 17:01 πŸ‘ 36 πŸ” 19 πŸ’¬ 3 πŸ“Œ 4

Nope. Other stuff keeps bubbling up above it and the feedback have traditionally gotten has not been majority positive, so it hasn't motivated me to up its priority.

04.02.2026 22:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Typer developer survey Help us understand how Typer is used, what is needed, and help guide its decisions ⌨️

Do you like Typer? ⌨️

Fill the Typer developer survey and help us define its future ✨

forms.gle/uT8SYQRoxuPz...

03.02.2026 15:03 πŸ‘ 6 πŸ” 3 πŸ’¬ 0 πŸ“Œ 1

I'm just glad it paid off!

02.02.2026 22:46 πŸ‘ 6 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Presenter at front of lecture hall demonstrating an open source docs interface projected on a large screen while audience members take notes and photos.

Presenter at front of lecture hall demonstrating an open source docs interface projected on a large screen while audience members take notes and photos.

Why the French govt digital services chose #Python and #Django: β€œthe boring stack can be upgraded easily and will still work in 20 years” -- Manuel Raynaud showcases LaSuite #FOSDEM. Open source digital collaboration apps, built as an alternative to Microsoft Teams / Office

31.01.2026 17:17 πŸ‘ 36 πŸ” 13 πŸ’¬ 0 πŸ“Œ 0

Python Tip #33 (of 365):

Don't sleep on Python's keyword arguments / named arguments. 🧡

When you have the choice between a positional argument or a keyword argument, choose a keyword argument if it clarifies the argument's purpose.

#Python #DailyPythonTip

02.02.2026 19:04 πŸ‘ 10 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

We need your help to advance the Python ecosystem on Windows on Arm!

Feel free to drop me a message if you want to know more.

30.01.2026 16:21 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1

Message or email me if you'd like to receive a free ebook review copy of my workbook of Python practice questions. al@inventwithpython.com (No time pressure on this, but I just need to get more reviews for it on Amazon now that it's out. If you're a fan of my books, these reviews really help me out)

30.01.2026 18:06 πŸ‘ 7 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

One way to support Signal monthly is to pay for the backup service.

27.01.2026 21:42 πŸ‘ 6 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Principal Software Engineer | Microsoft Careers Developer Division in CoreAI believes that software development is rapidly evolving in the age of Artificial Intelligence. Lead the design and implementation of core features in Pylance, debugpy, and ...

apply.careers.microsoft.com/careers/job/... if you want to join me and the Python team from Vancouver, Canada

26.01.2026 22:52 πŸ‘ 8 πŸ” 5 πŸ’¬ 1 πŸ“Œ 0

Ah

20.01.2026 22:48 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Screenshot:

serialephemera
Thematically speaking, the most important thing Terry Pratchett taught me was the concept of militant decency. The idea that you can look at the world and its flaws and its injustices and its cruelties and get deeply, intensely angry, and that you can turn that into energy for doing the right thing and making the world a better place. He taught me that the anger itself is not the part! should be fighting. Nobody in my life ever said that before.

Screenshot: serialephemera Thematically speaking, the most important thing Terry Pratchett taught me was the concept of militant decency. The idea that you can look at the world and its flaws and its injustices and its cruelties and get deeply, intensely angry, and that you can turn that into energy for doing the right thing and making the world a better place. He taught me that the anger itself is not the part! should be fighting. Nobody in my life ever said that before.

This is a good lesson, no matter how you come to learn it

18.01.2026 15:11 πŸ‘ 3698 πŸ” 1441 πŸ’¬ 21 πŸ“Œ 39
Preview
Agent Psychosis: Are We Going Insane? What’s going on with the AI builder community right now?

Ah finally, critique of agentic coding (Gas Town, etc) from the pro-LLM side.

I respect these sort of opinions more than I do the "it's new and I don't like it" critiques

lucumr.pocoo.org/2026/1/18/ag...

18.01.2026 18:52 πŸ‘ 10 πŸ” 2 πŸ’¬ 1 πŸ“Œ 1

Hey if you’re looking to try/retry/find a home on the ActivityPub/mastodon shaped part of the fediverse, I will personally help you get set up, move followers, block assholes, etc

I have no interest in debating the merit of bsky-v-mastodon, purely offering help.

Reskeets welcome ✨

18.01.2026 23:35 πŸ‘ 5 πŸ” 5 πŸ’¬ 0 πŸ“Œ 2
Preview
Performance Python can be used to write and test code quickly because it is an interpreted language that types dynamically. However, these are also the reasons it is slow when performing simple tasks repeatedl...

The section on performance measurements and finding bottlenecks has been significantly expanded to include cProfile/profiling.tracing, tprof, and profiling.sampling/Tachyon: www.python4data.science/en/latest/pe...
#Python #Performance

19.01.2026 05:51 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
European Commission - Have your say European Commission - Have your say

The EU Commission is currently gathering feedback from open source communities in order to tailor its open source funding accordingly. Wouldn’t that also be something for @python.org?
ec.europa.eu/info/law/bet...
ec.europa.eu/info/law/bet...
#EU #OpenSource #Python #DigitalSovereignty

19.01.2026 18:58 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

I'm going to do a Canadian thing and ask in what country did this take place?

19.01.2026 22:50 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Didn't @savannah.dev warn you about Bell?

15.01.2026 23:57 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0