Posts about the programming language that fits your brain.

Available sub-tags here:

Weekly Report, October 4 - 10

This week Pablo released Python 3.10.0. I was part of the “small” release party that ended up bringing a live audience of 400 people on YouTube, Guido included. It was a pleasure.

Weekly Report, September 27 - October 3

Another week gone by, and fast! This week I spent almost entirely on analyzing the Github contributor activity data. The blog post on it is still not finished yet, data quality turned out to be an issue so I had to redo parts of that. And between you and me, I’m a relatively slow coder.

Weekly Report 2021, September 20 - 26

This week in numbers: closed 13 issues, closed 46 PRs, and reviewed 7.

Weekly Report 2021, September 13 - 19

This week in numbers: closed 8 issues, authored 1 PR, closed 49 PRs, and reviewed 6. No highlights this time since I badly hoped to be able to squeeze in some work on Saturday but that turned out not to be possible (it’s birthday season in my family).

Weekly Report 2021, September 6 - 12

Slower week this time as Monday was off due to US Labor Day. Apart from reviewing and merging pull requests, I spent some time on Thursday getting to know Datasette, fiddling with the SQLite data format to find one that lends itself best to analytical queries, and making sure that the dataset can be periodically updated. I’ll be writing a separate post with the findings from that.

Weekly Report 2021, August 30 - September 5

Slower week in terms of pull requests as I coded more myself and did some release management work.

Weekly Report 2021, August 23 - 29

I spent the week preparing for releases of Python 3.9.7 and 3.8.12 next week. Namely, making sure that pending security content is merged and including other high-profile fixes.

Weekly Report 2021, August 16 - 22

This week my family and I visited the Polish seaside. Since I’m admittedly not a big fan of doing nothing at the beach for 8+ hours a day for a week, I decided to just keep working for that week. I figured that since I was already remote, being a little more remote this week won’t make much difference.

Weekly Report 2021, August 9 - 15

Can you believe it? I’ve been doing this for a full month now! More deep dives this week. Mostly around making reference leak tests run on macOS, which I need to be able to check PRs locally before landing them. This will take at least another week to get right. I also made progress on gathering data from all Github PRs which will allow us to answer some interesting questions about our behavior as a team.

Weekly Report 2021, August 2 - August 8

While this week I wasn’t sprinting so crazily towards beating the 1,400 open PRs, we managed to keep the number of PRs around that line. In fact, I deliberately spent more time this week to do more coding.

Weekly Report 2021, July 26 - August 1

This week I tried to drop the open pull request count below 1,400. This was a grueling task and I barely succeeded.

Weekly Report 2021, July 19 - 25

Second week passed as fast as the first one, if not faster. This time I dug into more non-trivial issues. While most were around typing, there was also quite a bit of C involved. Also, we were able to close Dennis’ PR to speed up fastsearch.h (bytes.find is now 22%+ faster on real-world data).

Weekly Report 2021, July 12 - 18

First week of work done. While there are bigger overarching goals for the role, this week I decided to dive right into PR review which looking at our growing open PR numbers needs more help.

I am the new CPython Developer in Residence

This is some of the most amazing news in the past few years for me. Python needs full-time development to stay competitive, I’ve been talking about this for years, dreaming about it for even longer than that. Now it’s becoming a reality. Today is my first day. It’s both scary and exciting.

Why does `Black` insist on reformatting my entire project?

Some thoughts about why Black recommends adopting it by reformatting your entire codebase in one go and refuses to do “region reformatting”. This started as a tweet but there’s a bit too much content for 280 characters.

Why the sad face?

When you first encounter Black, a few things about it might surprise you. One of the those things might be "sadface dedent", the style in which closing parentheses in function signatures and other block headers are put on its own line. I arrived at this formatting style long before creating the auto-formatter. It’s got a few objective advantages.

Zen of Python, Again

There used to be a different blog here which I started in March 2012. The first entry was called “The Zen of Python and Me” where I went through each of the koans and explained what it meant to my day-to-day Python programming. What changed since then?