Planet Python RSS
210 subscribers
18.4K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Django Weblog: Django bugfix release issued: 6.1.1

Link: https://www.djangoproject.com/weblog/2026/sep/02/bugfix-releases/

Today we've issued the
6.1.1
bugfix release.
The release package and checksums are available from
our downloads page, as well as from the Python Package Index.
The PGP key ID used for this release is
Graham Dumpleton: Phased behaviour in wrapture

Link: https://grahamdumpleton.me/posts/2026/09/phased-behaviour-in-wrapture/

Most of what a test configures on a patch holds until the test changes it. Retry logic is the classic case where that is not enough: the code under test keeps calling, and the test needs the behaviour
Jaime Buelta: The Many Challenges in Integrating Information for AI Agents

Link: https://wrongsideofmemphis.com/2026/09/03/the-many-challenges-in-integrating-information-for-ai-agents/

Recently I’ve been thinking quite a lot about information availability for agents, and the fact that this is a very difficult and potentially irresoluble problem. Let me try to explain myself. I talke
Graham Dumpleton: Beyond callables in wrapture

Link: https://grahamdumpleton.me/posts/2026/09/beyond-callables-in-wrapture/

Every example in this series so far has wrapped a call. A binding named a method, and what flowed through the call was recorded or changed. Plenty of what a test needs to control is not a call, though
Trey Hunner: Python Morsels now has spaced repetition

Link: https://treyhunner.com/2026/09/python-morsels-now-has-spaced-repetition/

Nearly every book I’ve read on teaching and education over the past decade has talked about the value of spaced repetition.
For much of that time, spaced repetition has been something I would recommen
Python Anywhere: Annual plans, PostgreSQL 15, and easier database management

Link: https://blog.pythonanywhere.com/224/

We deployed our latest system update to our EU-based system on 23 June 2026
and to our US-based system on 28 July 2026.
People creating an account or upgrading from a free account can now choose an
an
Bob Belderbos: Why does Alembic need an import you never use?

Link: https://belderbos.dev/blog/what-table-true-does-sqlmodel/

A coaching session this week surfaced a good question: Alembic autogenerate only works if you import your models first, even though you never reference them.
Ruff flags the import as unused.
So why is
Python Morsels: Creating temporary files in Python

Link: https://www.pythonmorsels.com/temporary-files/

How to create temporary files and directories in Python using the tempfile module's NamedTemporaryFile and TemporaryDirectory.



Table of contents

Making a temporary file
Leaving temporary files ope
Armin Ronacher: Latent Powers

Link: https://lucumr.pocoo.org/2026/9/5/latent-powers/

A few weeks ago I felt like it would be fun to see if I can make one of those
cheap Chinese CarPlay dongles run something other than the stock firmware. The
idea was that rather than just forwarding
The Python Coding Stack: How I Code (Late 2026 Version)

Link: https://www.thepythoncodingstack.com/p/how-i-code-late-2026-version

You open a blank .py file in your favourite IDE. You have a blank page in front of you. You start writing code.This is how it used to be. And perhaps it’s how it still is for you. This is how I wrote
Glyph Lefkowitz: ... but what about video games?

Link: https://blog.glyph.im/2026/09/but-what-about-video-games.html

I get asked this rhetorical question a lot, in various forms:

Sure, datacenters might use a lot of energy, but you don’t have to use a
hosted frontier model to do software development. What if I jus
Graham Dumpleton: Live tracing with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/live-tracing-with-wrapture/

When I wrote about unit testing with wrapture the pattern in every test was the same: create a binding on a method, open a timeline(), run the code, and read the recorded calls off the tape. What I di
Bob Belderbos: 5 design patterns used in my new habit tracker app

Link: https://belderbos.dev/blog/python-patterns-django-habit-tracker/

There are plenty of habit trackers, but I wanted to build mine with constraints, a calendar view and habit streaks. So I built commitgraph: a small Django + HTMX app. Here are five Python design and t
Graham Dumpleton: Zero-code tracing with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/zero-code-tracing-with-wrapture/

The previous post traced the shop with three bindings and a sink, all applied from the program's own entry point. That is fine when the program is yours. It is less fine when the application is one yo
LernerPython blog, from Reuven Lerner: Claude Code always produces something. That’s the hard part.

Link: https://lernerpython.com/2026/09/08/claude-code-always-produces-something/


For many months, I’ve been using Claude Code several hours each day. Not to experiment, but to get work done. A growing amount of the functionality behind LernerPython.com is now written with Claude
Python Bytes: #495 Banned

Link: https://pythonbytes.fm/episodes/show/495/banned

Topics covered in this episode:

EuroPython 2026 videos are online
The State of Django 2026: Boring is so back
htmx 4.0.0 has been released
🐍 Functionally Zen
Extras
Joke
Watch on YouTube
Sponsored by
PyCoder’s Weekly: Issue #751: Profiling, From pandas to Polars, NotImplemented, and More (2026-09-08)

Link: https://pycoders.com/issues/751

#751 – SEPTEMBER 8, 2026 View in Browser » Profiling and Making Apps Fast by Default How do you plan for the performance of your Python applications? What does a performance budget entail, and w
Django Weblog: Call for volunteers: Fundraising Working Group

Link: https://www.djangoproject.com/weblog/2026/sep/08/call-for-volunteers-fundraising-working-group/

The Django Software Foundation is looking for people to join the Fundraising Working Group.
This is a particularly interesting time to get involved.
The DSF has raised its 2026 fundraising goal to $50
Graham Dumpleton: Tracing Flask with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/tracing-flask-with-wrapture/

For a web application the natural unit of tracing is the request: one HTTP request, its method, path and status, and every observed call made while handling it, as one tree. The config file from last