What's up Python? — cover

What's up Python? We are living interesting times for sure...

I'm late on my lateness, hence a double dose of recap today with both September and October newish news:Python 3.15 is here. Duh.You need to update a lot of things. Now.Cloudflare Python Workers are generally available, and it's weird.Memory Snapshots for CPython. Intriguing. Probably not gonna work.PEP 827: Type Manipulation. It's not the easiest read, but it's useful.? is back, baby! And I really want it.d-strings. Yeah, I know, another prefix.RISC-V is now officially supported by CPython. Freedom is calling.PEP 845 – Leading-Dot Value Patterns. It's not the easiest read, but it's useful. Round 2.I missed export. So now you know.And Moar

Nov 09, 2026

Latest notes

Still looking to free RAM, this time I turned to Firefox. An open tab like Reddit can use more than 1Gb if you scroll a lot and leave it open. Infinite scrolls and rich media are pigs.

But extensions can also do a lot of damage.

E.G:
Logs show that Bitwarden tried to reach the (not installed) desktop app (not installed) every 10s, and each failed attempt cumulated in memory. After 8 days the add-ons process held 1.8 GB.

Solution: remove the add-on permission to "Exchange messages with programs other than Firefox".

To alert you have have software update, Ubuntu starts gnome-software in the background.

It's the software to manage their app store, and it doesn't have a light mode for just checking updates, it loads the entire catalogue in memory, which on my machine, eats 2.4 Gb of ram all the time.

To avoid that, create a dummy ~/.config/autostart/org.gnome.Software.desktop with:

[Desktop Entry]
Type=Application
Name=Software
Hidden=true

This will override the system one.

I really like raindrop.io, in fact I pay for it, but the fact their browser extension adds 30 ms of load time to EVERY SINGLE PAGE you visit is bonker.

Fortunately they provide a bookmarklet: https://help.raindrop.io/install-extension#faq

Bitwarden has the same problem, disabling auto complete on page load helps.

Grammarly have the same problem, but you can only disable site by site.

Which is crazy if you think about it, because even something as integrated as uBlock takes only a 20ms hit.

Browser extension - Raindrop.io Help Raindrop.io Help

So, I moved off substack, I added a ton of filters on my stats to remove bots and fake visits, but I still have 3 times more traffic than I had in my substack stats.

So either you REALLY prefer the new platform, or I still have a ton of bot I can't detect.

And as much as I want to believe my move was a genius one, I'm not that delusional.

I already check for weird signatures (like http1 + not loading css + mobile UA), I have honeypots in my robots.txt, block on volume, check unlikely behavior (like have a referer on my redirecting only apex)...

Any other tips?

Treating an SPA static assets as a PWA static assets (with a web worker) even if your app is NOT offline first yield surprisingly good performance improvements.

Turns out those 304 accumulate.

Trying out zram (https://doc.ubuntu-fr.org/zram) to compress what is in RAM, so far so good.

Got a third of the laptop RAM compressed, some of that is allocated to swap (!) and the ratio so far has been 4:1 compression.

In a world where RAM is expensive, and yet you have VM and agents eating a lot of it, it's an interesting avenue. Windows and Mac already do that by default.

zram [Wiki ubuntu-fr] doc.ubuntu-fr.org

Looking at my log, I had a recurring 404 people hit after the migration, yet I don't have this URL anywhere on my site:

/action/disable_email

Turns out it's the Substack unsubscribe email url.

Whoops.

Ok, so if you have tried to unsubscribe for the last 2 days (and likely marked me as spam as a result), I'm sorry. I screw up that part, didn't mean to hold you hostage ^^

A colleague of mine recently got pwned (a not so subtle shell injection because of lack of escape), and his site was serving a lot of bad pages, but he couldn't figure out where it came from.

Turns out the attacker managed to get to his cloudflare account, and inserted his logic in a cloudflare middleware, between the user and his servers. This means the code was nowhere on his servers, and very hard to find.

O_o

I always have readers reporting mistakes in my articles, and there is a lot of frictions to do this: they have to copy or capture the problem, show where in the article it is, then choose a platform and contact me on it.

And yet people do it!

So I just baked the feature right in.

Now you can click a little pen button in each article, and directly suggest a typo fix. I will receive the diff, and be able to integrate it directly in the article.

Thanks to all the nerds that take the time to make me a little bit less wrong.

So what do you gain with the new blog?

- Notes are directly in the home page (and have their RSS), so if you are not on bluesky or mastodon, you can still see them.
- Better code support. It's just nicer to read, especially on mobile, both for inline and code blocks.
- No buttons or modals telling you to subscribe.
- No 3rd party analytics. No Ads. No crazy tracking. I have GoAccess looking at the logs, that's it.
- Works without JS (albeit without code coloration to keep the markup clean).
- You can subscribe with RSS separately on the articles and the notes, or filter by tags: https://www.bitecode.dev/subscribe/rss

And it opens the door for funky things later like porting the https://www.pystebin.com/ code runner to the blog so you can run snippets from the article directly in the browser later on.

Build your feed Bite Code!

Ok, migration done, I don't see anything broken on my side.

Waiting for the bots to swarm the new IP any minutes now, and I don't have cloudflare so it's going to be fun.

I'm migrating off Substack to my own hosting; you might see some disturbances in the force.

new.bitecode.dev will soon be www.bitecode.dev, and redirect to it. The Substack access will be moved to old.bitecode.dev and deindexed.

I will take the opportunity to upgrade the server and reboot it, since I don't do it that often, so you will see the site down for a little bit, as I don't plan to make a fallback for such a non-critical service.

Your newsletter and RSS subscriptions should still work out of the box, but I will now only put the summary of the article in the email with a link to the online version, to save me from reformatting the entire thing in the Substack editor. They really are not automation-friendly.

Ping me if something is off.

Creating your custom agentic harness is the 2026 equivalent of "I am coding my own editor" twenty years ago and writing your web framework a decade ago.

Uber probably got hacked recently.

Got a 2FA email from them despite the fact:

- I haven't tried to connect to it.
- The password is unique to that account.

AIs are buzzy little bees.

Just had an ad displayed on @netflix despite the fact that I have the Standard plan, which is without ads.

Is it a bug? Did they change their policy?

Cause I'm not paying 15 euros a month to watch ads.

EDIT: actually 2 ads, they are really spending that good will fast.

What a clever idea!

They took the CPython codebase and asked an AI to turn it into Lean (a language that comes with a proof checker), then demonstrated 418 bugs with it.

https://broyojo.com/python-formalization/

With AI making full rewrites cheap, this means we can technically do that with any codebase, write in the nice language you want to use, and prove it with Coq or Lean to be correct.

Albeit at the cost of also porting the tons of dependencies that come with your project.

Formalizing CPython broyojo.com

I really like the Grammarly browser extension, it's a very nice spell checker. But it tends to completely mess up code blocks colored with Prism in CodeMirror, replacing the code with [Object], because it seems to ship its own copy of Prism (I assume to be able to check typos in those blocks), scan all code.language-* classes and inject his own stuff in them, which CodeMirror takes as a edit and saves raw.

The fix is to use the language-* class instead of code.language-* to mark the code block and prevent Grammarly from finding it. You lose spell check in code, but it's actually better, it's usually not great at it.

Following the eMudhra debacle, all package manager issued an update:

certifi 2026.10.19
pip 26.2.2
uv 0.13.4
sigstore 4.5.1
conda 26.9.4
pixi 0.82.1
virtualenv 21.14.12

You probably want to update ASAP. Right now would be ideal.

https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576

Information for Python users regarding eMudhra / emSign CA certificate security incident Discussions on Python.org

Hacker reverse engineers his Samsung TV and finds on-board AI always listening

https://www.reddit.com/r/antiai/comments/1xdv3e5/hacker_reverse_engineers_his_samsung_tv_and_finds/

This is really nasty. People talking about being listened to by their phone because of targeted apps have been gaslighted for years.

But we know Siri and Alexa both got caught on listening scandal, and now this. At this stage, it is naive to think it's not happening on a regular basis.

Another grave and dangerous incident in AI's activity: I made it code a YouTube client, and it uses "never give you up" as test data.

Claude Rick-rolled me :D

Catastrophic failures are rare with frontier models now. They're becoming very reliable.

People will get used to this and take fewer precautions.

But I'd argue that, as these systems become ubiquitous and more powerful, we should actually take more.

This morning, Claude happily deleted all the SSH keys on one machine.

Of course, it was a machine dedicated to Claude, I had a full backup, and the keys were passphrase-protected, so it wasn't a big deal. I've had interns do way worse. I've done way worse myself.

I wiped an entire production server with a PHP 3 script at my first job. I still remember it like it was yesterday. My mentor was really nice about it. The price of learning. And I learned.

But consider that these AI systems can perform a thousand actions per second, with an error rate of just 0.2%. That's two fuck-ups per second.

They make fewer mistakes than humans now, and most of those mistakes are benign. But they make them so much faster, and they're becoming involved in so many things, that guardrails and contingency plans are more important than ever.