Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Graham Dumpleton: Lazy monkey patching with wrapt

Link: https://grahamdumpleton.me/posts/2026/05/lazy-monkey-patching-with-wrapt/

This post is for the people who write APM agents, tracers, profilers, debuggers, and anything else that instruments Python code without asking the user to change it. Everyone else is welcome along.
Th
Graham Dumpleton: Reshaping decorated functions with wrapt

Link: https://grahamdumpleton.me/posts/2026/05/reshaping-decorated-functions-with-wrapt/

Most decorators leave the function's outward shape alone. The same parameters go in, the same return type comes out, and inspect.signature and inspect.iscoroutinefunction give the same answers they wo
Graham Dumpleton: Async support for wrapt.synchronized

Link: https://grahamdumpleton.me/posts/2026/05/async-support-for-wrapt-synchronized/

Continuing the tour through the wrapt 2.2.0 release, the last piece worth a closer look is the new async support in wrapt.synchronized. The decorator has been part of wrapt from the start, but until 2
Armin Ronacher: Building Pi With Pi

Link: https://lucumr.pocoo.org/2026/5/24/pi-oss/

Pi is now part of Earendil, but in the important sense it is
still Mario’s project. He has been living with its
issue tracker longer than I have, and he has been exposed to the weirdness of
the new f
The Python Coding Stack: Stephen's Preface to Agents Unpacked

Link: https://www.thepythoncodingstack.com/p/stephens-preface-to-agents-unpacked-ai-agents

Like many, I started using chatbots when GPT whatever-version-it-was came out and took the world by storm. It was really not very good at the time (compared to today’s top-end chatbots), but it was cl
The Python Coding Stack: Table of Contents • Agents Unpacked

Link: https://www.thepythoncodingstack.com/p/table-of-contents-agents-unpacked

Here’s the planned Table of Contents. This is likely to change as Priya and I work on this:Stephen’s Preface to Agents UnpackedPart I — The Mental ShiftChapter 1 — From Answer to OutcomeChapter 2 — An
The Python Coding Stack: 1. From Answer to Outcome

Link: https://www.thepythoncodingstack.com/p/understanding-ai-agents-from-answer-to-outcome

Something has shifted in how we use AI. We still talk about “chatbots” and “prompts” and “getting a good answer.” But underneath those familiar words, a different kind of system has been quietly takin
Ned Batchelder: PyCon US 2026

Link: https://nedbatchelder.com/blog/202605/pycon_us_2026

Last week was PyCon US in Long Beach California. As always, it was a
jam-packed intense time. I’ll try to report on my experience. The videos aren’t
uploaded yet, but I’ll link to them later when they
Graham Dumpleton: Per-interpreter GIL in mod_wsgi 6.0.0

Link: https://grahamdumpleton.me/posts/2026/05/per-interpreter-gil-in-mod-wsgi-6-0-0/

mod_wsgi 6.0.0 is currently available as a release candidate. You can install it from PyPI, or grab the source from the GitHub releases page. There is a significant amount of code cleanup behind this
Graham Dumpleton: Free-threading in mod_wsgi 6.0.0

Link: https://grahamdumpleton.me/posts/2026/05/free-threading-in-mod-wsgi-6-0-0/

The previous post in this series covered the new WSGIPerInterpreterGIL directive in mod_wsgi 6.0.0 and the PEP 684 per-interpreter GIL feature that landed in Python 3.12. This post is about its siblin
Real Python: Quiz: How to Make a Scatter Plot in Python With plt.scatter()

Link: https://realpython.com/quizzes/visualizing-python-plt-scatter/

In this quiz, you’ll test your understanding of
How to Make a Scatter Plot in Python With plt.scatter().
By working through this quiz, you’ll revisit how to use plt.scatter()
from Matplotlib’s pyplot
Real Python: How to Make a Scatter Plot in Python With plt.scatter()

Link: https://realpython.com/visualizing-python-plt-scatter/

Visualizing data is a core part of analysis, and Python’s most popular plotting library is Matplotlib. To make a scatter plot, you reach for plt.scatter() from Matplotlib’s pyplot submodule, conventio
Talk Python Blog: Spanish subtitles available for all courses

Link: https://talkpython.fm/blog/posts/spanish-subtitles-available-for-all-courses/

Earlier this month, we announed support for multi-lingual subtitles on our courses. You can read the announcement for the full details. Now we are ready to release our second language, Spanish!

All 2
Python Bytes: #481 Ways to die

Link: https://pythonbytes.fm/episodes/show/481/ways-to-die

Topics covered in this episode:

Dumb Ways for an Open Source Project to Die
How to create a pylock.toml lockfile
https://github.com/facebook/Lifeguard
Choosing a Python Logging Library in 2026
Extras
Talk Python to Me: #549: Great Docs

Link: https://talkpython.fm/episodes/show/549/great-docs

Your documentation has two audiences now - humans reading the rendered HTML, and AI agents trying to make sense of your library. Rich Iannone and Michael Chow from Posit are back on Talk Python with a
Graham Dumpleton: WSGISwitchInterval in mod_wsgi 6.0.0

Link: https://grahamdumpleton.me/posts/2026/05/wsgi-switch-interval-in-mod-wsgi-6-0-0/

The first two posts in this series covered new directives in mod_wsgi 6.0.0 that change the concurrency model the interpreter runs under. WSGIPerInterpreterGIL opts a sub-interpreter into its own GIL.
Bob Belderbos: From Python Script to Production: A Django Coaching Case Study

Link: https://belderbos.dev/blog/daniele-django-movie-anime-discovery/

Six weeks of 1:1 coaching. The output: a Django app in production on Fly.io, covering movies, anime, and manga, with user accounts, a save library, Docker, and CI/CD on every push. Daniele started wit
Graham Dumpleton: Free-threading vs the GIL in mod_wsgi 6.0.0

Link: https://grahamdumpleton.me/posts/2026/05/free-threading-vs-the-gil-in-mod-wsgi-6-0-0/

The previous post in this series walked through tuning WSGISwitchInterval to claw back throughput on a multi-threaded mod_wsgi daemon group whose workload is CPU-bound Python. Tightening the switch in
Armin Ronacher: Clanker: A Word For The Machine

Link: https://lucumr.pocoo.org/2026/5/26/clankers/

In my last post I used the word “clanker” as an
alternative to “agent” quite consistently and probably excessively. That choice
ended up attracting a lot more attention than I expected in the Hacker
Real Python: Quiz: Perfect Your Python Development Setup

Link: https://realpython.com/quizzes/perfect-your-python-development-setup/

In this quiz, you’ll revisit the core concepts covered in the
Perfect Your Python Development Setup learning path:






Learning Path
Perfect Your Python Development Setup
17 Resources ⋅ Skills: VS C