Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm

Link:

Making software accessible often comes down to removing small but repeated points of friction in everyday workflows. Today, on Global Accessibility Awareness Day, we’re sharing recent improvements in
Real Python: Quiz: Context Managers and Using Python's with Statement

Link: https://realpython.com/quizzes/with-statement-python/

In this quiz, you’ll test what you learned in the video course Context Managers and Using Python’s with Statement.
By working through this quiz, you’ll revisit how the with statement runs setup and te
Kevin Renskers: uv is fantastic, but its package management UX is a mess

Link: https://www.loopwerk.io/articles/2026/uv-ux-mess/

Astral’s uv has taken the Python world by storm, and for good reason. It is blisteringly fast, handles Python versions with ease, and replaces a half-dozen tools with a single binary. I’ve written mul
The Python Coding Stack: How I Learn (2026 Version) • My Tutor Agent

Link: https://www.thepythoncodingstack.com/p/how-i-learn-2026-version-my-tutor-ai-agent-teacher

I know how I like to learn new things. Over the years, I figured out what works for me and what doesn’t. If you read my articles or attend my courses, then you know how I like to learn since I teach i
Glyph Lefkowitz: Opaque Types in Python

Link: https://blog.glyph.im/2026/05/opaque-types-in-python.html

Let’s say you’re writing a Python library.
In this library, you have some collection of state that represents “options” or
“configuration” for a bunch of operations. Such a set of options is a bundle
Real Python: Quiz: Build a Tic-Tac-Toe Game With Python and Tkinter

Link: https://realpython.com/quizzes/tic-tac-toe-python/

In this quiz, you’ll test your understanding of
Build a Tic-Tac-Toe Game With Python and Tkinter.
By working through this quiz, you’ll revisit how to design game logic with Python classes, lay out and
Real Python: The Real Python Podcast – Episode #296: Managing Polars Schema Issues & Profiling GitHub Users

Link: https://realpython.com/podcasts/rpp/296/

How can you avoid schema problems in your Polars data pipeline when adding new columns? How can you quickly examine a GitHub user's profile to decide how much to invest in their contributions? Christo
Python Morsels: What types of exceptions should you catch?

Link: https://www.pythonmorsels.com/what-types-of-exceptions-should-you-catch/

The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that **obfuscate the actual error that's occurring. Which exceptions
Bob Belderbos: What production AI agents actually require

Link: https://belderbos.dev/blog/production-ai-agents-real-workflows/

Most "AI agents" shipping right now are demos wearing production paint. They answer questions fluently and break the moment they touch a workflow with money, state, or consequences.
The agent illusion
EuroPython: Call for Onsite Volunteers: Make EuroPython 2026 Happen

Link: https://blog.europython.eu/make-europython-2026-happen/

We need volunteers to make EuroPython 2026 happen. And you might be exactly who we&aposre looking for!Before sharing all the information, here is a personal story from me:
The first time I attended Eu
Bob Belderbos: A 500 That Survived Ten Successful Deploys

Link: https://belderbos.dev/blog/500-survived-ten-successful-deploys/

A specific page returns 500. Other pages load. The site builds clean locally. All referenced images exist. Every internal link resolves. CI is green. It turns out the bug was introduced ten releases a
Graham Dumpleton: Stateful decorators in wrapt

Link: https://grahamdumpleton.me/posts/2026/05/stateful-decorators-in-wrapt/

A new version of wrapt was released earlier this week. Version 2.2.0 introduces a small helper that makes it noticeably easier to write decorators that need to keep state across calls. It is the kind
Graham Dumpleton: Per-instance lru_cache using wrapt

Link: https://grahamdumpleton.me/posts/2026/05/lru-cache-using-wrapt/

Following on from the previous post on stateful decorators, there is another small addition in wrapt 2.2.0 worth a closer look. A new wrapt.lru_cache helper has been added that fixes the long-standing
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