atlas news
    
Tall, Snarky Canadian
11  octobre     03h46
Why it took 4 years to get a lock files specification
Brett Cannon    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 of active work to get us that specification. Part education, part therapy,
16  mai     05h19
Unravelling t-strings
Brett Cannon    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
07  mars     01h04
Why I won’t be attending PyCon US this year
Brett Cannon    I normally don’t talk about politics here, but as I write this the US has started a trade war with Canada (which is partially paused for a month, but that doesn’t remove the threat). It is so infuriating and upsetting that I will be skipping PyCon
23  janvier     04h43
My impressions of Gleam
Brett Cannon    When I was about to go on paternity leave, the Gleam programming language reached 1.0. It’s such a small language that I was able to learn it over the span of two days. I tried to use it to convert a GitHub Action from JavaScript to Gleam,
26  novembre     23h28
What the PSF Conduct WG does
Brett Cannon    In the past week I had two people separately tell me what they thought the Python Software Foundation Conduct WG did and both were wrong (and incidentally in the same way). As such, I wanted to clarify what exactly the WG does for people in case others also misunderstand what
02  novembre     22h00
Don’t return named tuples in new APIs
Brett Cannon    In my opinion, you should only introduce a named tuple to your code when you’re updating a preexisting API that was already returning a tuple or you are wrapping a tuple return value from another API.Let’s start with when you should use named tuples. Usually
22  juin     23h35
My impressions of ReScript
Brett Cannon    I maintain a GitHub Action called check-for-changed-files. For the purpose of this blog post what the action does isn’t important, but the fact that I authored it originally in TypeScript is. See, one day I tried to update the NPM dependencies. Unfortunately, that update broke everything in a
11  juin     21h29
Saying thanks to open source maintainers
Brett Cannon    After signing up for GitHub Sponsors, I had a nagging feeling that somehow asking for money from other people to support my open source work was inappropriate. But after much reflection, I realized that phrasing the use of GitHub Sponsors as a way to express patronage support and appreciation for
17  mars     22h43
State of WASI support for CPython: March 2024
Brett Cannon    The biggest update since June 2023 is WASI is now a tier 2 platform for CPython This means that the main branch of CPython should never be broken more than 24 hours for WASI and that a release will be blocked if WASI support is broken. This only applies to
03  janvier     05h49
An experimental pip subcommand for the Python Launcher for Unix
Brett Cannon    There are a couple of things I always want to be true when I install Python packages for a project:I have a virtual environmentPip is up-to-dateFor virtual environments, you would like them to be created as fast as possible and (usually) with the newest version of Python.
27  décembre     19h46
My proof-of-concept record type
Brett Cannon    Back in June, I proposed a struct syntax for Python. I shared the post on Mastodon and got some feedback. Afterwards I thought about what I heard and talked it over with some folks. I’ve now coded up a proof-of-concept to share to get some more feedback from
24  décembre     22h05
State of standardized lock files: December 2023
Brett Cannon    Back in October, I released mousebender 2023.2. The biggest change was adding support for PEP 714 (which unless you’re running a package index you don’t need to know about it). The other small thing was adding ProjectFileDetails as a union of typed dicts to make
    05h44
Introducing basicenum
Brett Cannon    In the summer of 2022, my partner was taking her machine learning course as part of UBC’s Key Capabilities in Data Science certificate. I was Andrea’s on-call tutor for any Python questions, so while Andrea was listening to lectures I decided to do a small project
22  décembre     00h56
Announcing microvenv 2023.5
Brett Cannon    In my blog post explaining how virtual environments work, I announced my project called microvenv. At the time, my only goal was to create a package which could create virtual environments in a minimal, fast way. But since then, I have expanded the API of the package to provide some
27  août     23h11
Why I put in some effort to lower my carbon footprint
Brett Cannon    I was talking with someone about how Andrea and I have been consciously taking less flights since the pandemic started in order to lower our carbon footprint (Take the Jump suggests a flight under 1500km every 3 years, longer than that every 8 years; heard about this from David Suzuki