I talk to a lot of startups building security tools for AI agents, and my advice to all of them is, treat AI agents like malware. Even if agents provide a lot of value to those who use them, agents are a security nightmare to those who have to secure them.
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.
Share details about your Gleam project with us! forms.gle/Yu6QZfnxNKXM...
Share your Gleam project with us!
The Gleam packages site is a great place to explore Gleam libraries, but what about applications? We're making a showcase site so folks can check out projects made with Gleam! Do you have an applicat...
forms.gle
📣 The moment is here. 📣 TypeScript 7 is officially released! 7️⃣ devblogs.microsoft.com/typescript/a...
Announcing TypeScript 7.0 - TypeScript
Today we are proud to announce the availability of TypeScript 7, a 10x faster native port of TypeScript! Since its early days, TypeScript has promised to
devblogs.microsoft.com
npm v12 is now generally available. npm install now makes install scripts, Git, and remote-URL dependencies opt-in by default. We're also retiring npm 2FA-bypass GAT: no account management (early Aug 2026), no direct publishing (~Jan 2027). More info at github.blog/changelog/20...
npm install-time security and GAT bypass2fa deprecation - GitHub Changelog
npm v12 is now generally available and tagged latest. This major release turns on the install-time security defaults we announced in June, and it’s also where we begin a deprecation…
github.blog
If you use GitHub Actions to publish to #PyPI, I wrote a blog post outlining what I consider the key things you can do to secure your publishing workflow. snarky.ca/how-to-publi... If you don't use GitHub Actions for publishing, this post will NOT be of interest to you.
How to publish to PyPI using GitHub Actions securely
There have been several security incidents lately that involved compromising GitHub Actions workflows. This has led some to say "GitHub Actions is the weakest link" in publishing and to GitHub publish...
snarky.ca
@tiangolo.com are there any plans for hosting SQLite3 databases on @fastapicloud.com ? For a personal blog I just don't need something as fancy as Postgres which requires setting up another service. All I want is a SQLite3 file that I can occasionally download for backup purposes.
FastAPI Cloud is now in Public Beta ⚡ Deploy @fastapi.tiangolo.com apps with: fastapi deploy No waitlist. Try it now. 🚀 You Code. We Cloud. 😎 fastapicloud.com/blog/fastapi...
Setting up a direct indexing account has generally not been worth the hassle, but it sure feels great to be able to exclude SpaceX from my investment list
BREAKING: SpaceX is now worth more than Amazon. SpaceX market cap is $2.75 trillion, Amazon's is $2.65 trillion. Amazon's profits were $78 billion last year. SpaceX lost $5 billion last year.
The rainbow is here all year long, so we don't need to change the profile for June. But it is a good time to remind everyone that LGBTQIA+ rights are under attack all year long as well. And to steal @haskell.org's message: there would be no Gleam without trans people 🩵🩷🤍
Gleam is free from corporate interference and control, but that means financially we rely entirely on our sponsors! Please consider supporting Gleam, even if just a couple of dollars. Thank you! 💖 gleam.run/sponsor/
Sponsor | Gleam Programming Language
Everything we bring to the language is possible thanks to our sponsors. See how to become one of them and support Gleam.
gleam.run
🤔📚 Wondering what to do this weekend? Grab the latest No Starch Press Humble Bundle, ‘Python: the Good Stuff’ and dig into 15 #Python related titles for just $36! A percentage of the proceeds goes to supporting the PSF! www.humblebundle.com/books/python...
A @humblebundle.com for people learning Python, people automating busywork, people teaching the machines, and people trying to escape Excel. Pay what you want. DRM-free. Supports @python.org https://www.humblebundle.com/books/python-good-stuff-no-starch-books
💡 Fun fact for the day. Learn more about Gleam's 'use' in our language tour: tour.gleam.run/advanced-fea...
The backups that you do to two cheap USB flash drives today is better than the reliable, formal backup system you'll get around to doing "one day".
BACKUP YOUR DATA TODAY. This is your reminder that you should grab a couple SD cards or USB flash drives and backup your data. Multiple copies, and keep in mind that flash drives only last between one and six years, typically.
🐍🚀 Out now: Python 3.15 beta 2! 💤 Lazy imports! 🧊 frozendict builtin! 💂 sentinel builtin! 📉 Tachyon profiler! 🖼️ Frame pointers everywhere! 🎨 More colour! 🚌 & more! Library maintainer? Add 3.15 to your CI and keep those bugs coming! discuss.python.org/t/python-3-1... #Python315 #Python #release
Python 3.15.0 beta 2 is here!
Here comes the antepenultimate beta. This is a beta preview of Python 3.15 Python 3.15 is still in development. This release, 3.15.0b2, is the second of four planned beta releases. Beta release p...
discuss.python.org
`operator.itemgetter` and `attrgetter` get under-used IMO. Same goes for `else` clauses on `for` and `while` loops.
Python Tip #148 (of 365): Sort by specific sequence items with operator.itemgetter 🧵 Have an iterable of sequences (tuples, lists, etc.)? You can sort them by one or more of their indexes using itemgetter from Python's operator module. from operator import itemgetter #Python #DailyPythonTip
Your FastAPI is safe 🔒 Today, FastAPI was incorrectly flagged as malicious by automated tooling from a large company, among several other packages. FastAPI was not compromised. It was a false positive. We were not contacted before publication. This should not happen to OSS.
We have a unique keynote this year: Guido van Rossum - the creator of Python - will be the guest on an episode of the core.py podcast, recorded live from the #EuroPython stage by @lukasz.langa.pl and @pablogsal.com Grab your ticket: ep2026.europython.eu/tickets/ #europython #python
excited to announce that Wizard Zines is now shipping Canadian orders from Canada! now shipping is cheaper & there's no risk of being hit with duties get your zines at wizardzines.com
prek now supports cooldown in either user or project config: github.com/j178/prek/re... pre-commit closed and locked the feature request as one of many many duplicates, but I can't find any: github.com/pre-commit/p... #PreCommit #prek #cooldown
Release 0.3.12 · j178/prek
Release Notes Released on 2026-05-05. Highlights auto_update.cooldown_days is now available in both the user-level global config (~/.config/prek/prek.toml on Linux and macOS, or $XDG_CONFIG_HOME/pr...
github.com
PEP 831 (aka "frame pointers everywhere!") was accepted! If you are an author of a C extension or native lib built with a custom build system, it is now strongly recommended you add -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer to CFLAGS so profilers & debuggers can step through your lib.
PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python | peps.python.org
This PEP proposes two things:
peps.python.org
Well, let's fix those pprint defaults! mastodon.social/@treyhunner/... Which do you prefer? github.com/python/cpyth... github.com/python/cpyth... #Python #Python315 #pprint
Big news (for me at least): pprint on Python 3.15 is going to allow MUCH friendlier output! 🎉 Instead of: pprint.pprint(some_object) If you do this: pprint.pprint(some_object, indent=4, expand=True) You'll see output that looks like the most commonly used modern Python line-wrapping style!
Go to your @fastapi.tiangolo.com project and run: uvx library-skills Teach your AI coding agents to use FastAPI properly. 😎 library-skills.io
IT'S HAPPENING!!! 💃 People have asked me for an official @fastapi.tiangolo.com Conference for years. Here we go, let's meet in Amsterdam. ☕️
Big news: the first-ever ✨ FastAPI Conf ✨ is coming! 📍 Amsterdam 📅 October 28 Meet the FastAPI team, connect with developers ☕️ 🎟️ Join the waitlist for early ticket access: fastapiconf.com
Note the "installing from pylock.toml" part 😁
pip 26.1 is an incredible release, thank you to the pip maintainers!! 💜 – Relative dependency cooldown support! – Installing from pylock.toml – Multiple security fixes Read the full blog post by Richard Si: ichard26.github.io/blog/2026/04... #python #pypi #pip #security #oss #opensource
The argument of "Hammock Driven Development" is simple: most bugs aren't caused by bad code, they're caused by insufficiently understood problems. More thinking, less typing. Seems more relevant today than ever. Watch the talk here: www.youtube.com/watch?v=f84n...
Sometimes when you're naming a flag, nothing seems to stick. You try for weeks, ask everyone you know, but the "right" name doesn't seem to be there. Eventually maybe you just ship a name that's bad enough that you figure people will read the docs to figure out what it does.
Now there's autocompletion and docs in pyproject.toml for FastAPI 🎉 [tool.fastapi] entrypoint = "main:app" Make sure you have a modern editor and TOML plugin, like @vscode.dev with Tombi 🤓