Issue #753

frozendict, pytest Plugins, re.prefixmatch(), and More

Sept. 22, 2026

frozendict, pytest Plugins, re.prefixmatch(), and More
#753 – SEPTEMBER 22, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.15 Preview: frozendict
Preview Python 3.15’s frozendict: build immutable mappings you can hash, cache, and share across threads, and learn where the freeze stops.
REAL PYTHON

Quiz: Python 3.15 Preview: frozendict
REAL PYTHON

claude -p “migrate our CI config to RWX”
Python is powering AI. Your build platform should keep up. RWX is CI/CD rebuilt for the agentic dev cycle: content-based caching, graph-based task execution, and agent sandboxes that share config and cache with CI. Teams at Honeycomb, ClickFunnels, and Verkada have already switched. See Why Engineers Love RWX → rwx.com
RWX (READWRITEEXECUTE)sponsor

pytest Plugins That Actually Change How You Test in 2026
Seven pytest plugins beyond the built-ins that changed how Peyton tests: pytest-httpx for HTTP mocking, pytest-randomly for order-dependency detection, anyio’s built-in pytest plugin for backend-agnostic async tests, syrupy for snapshot testing, pytest-watch for continuous feedback, freezegun for deterministic time, pytest-cov for coverage enforcement.
PEYTON GREEN • Shared by Anonymous

Soft-Deprecating re.match()
To provide consistency with other languages, Python 3.15 is soft-deprecating re.match() and introducing re.prefixmatch() instead. This article explains why.
HUGO VAN KEMENADE

PEP 847: Problem Details for the Simple Repository API (Draft)
PYTHON.ORG

PEP 846: Docstrings for Type Aliases (Draft)
PYTHON.ORG

PEP 845: Leading-Dot Value Patterns (Draft)
PYTHON.ORG

Share How You Use Django With Django Probe
TIM SCHILLING

2026 PSF Board Election Results
PYTHON SOFTWARE FOUNDATION

2026 Python Packaging Council Election Results!
PYTHON SOFTWARE FOUNDATION


Articles & Tutorials


Serve the Change Password Well-Known URL
When a password manager detects that a user’s password has been leaked, it can prompt them to change it, but the password change URL varies by site. The answer to such discovery problems is .well-known/ URL namespace. This article talks about how to build it in Django.
ADAM JOHNSON

Getting Started With Rust as Python Devs
Talk Python discusses Rust for Pythonistas with guest Christopher Trudeau. Learn why Rust is a go-to language for Python tools and extensions and how you can get started writing Python modules with PyO3.
TALK PYTHON podcast

Make Public API Tests Repeatable in Python
Network-dependent API tests can be slow and flaky. This article shows how VCR.py records real HTTP interactions once and replays them for fast, repeatable, offline tests. Use cases include GitHub API client and pytest, CI-safe testing, and live API tests.
CODECUT.AI • Shared by Khuyen Tran

Primer on Jinja Templating
With Jinja, you can build rich templates that power the front end of your web applications. But you can use Jinja without a web framework running in the background. Anytime you want to create text files with programmatic content, Jinja can help you out.
REAL PYTHON

Announcing the PSF Strategic Plan 2026
In May, the Python Software Foundation (PSF) shared the high-level goals of their Strategic Plan. It was sent out for community feedback and now has been adopted. It is a five-year plan covering 2026 to 2031.
PYTHON SOFTWARE FOUNDATION

UnboundLocalError: It’s Scope Decided in Advance
The variable has a value elsewhere in your program, just not in the scope Python already decided this line belongs to. Here’s how Python actually assigns scope, and why the fix usually isn’t global.
SYSTEM CRAFT PRESS • Shared by Bob Morrison

Functionally Zen
Practical tenets for Python simplicity: why pure functions, immutable data, and composition reduce complexity, cut mocking overhead, and keep side effects contained.
KYLE ADAMS

How to Review AI-Generated Python Code Efficiently
Learn an efficient workflow to review AI-generated code in Python: run ruff, mypy, bandit, and pytest, then catch the bugs agents get wrong.
REAL PYTHON

Agentic Engineering in Python: From Vibes to Evidence
Move from vibe coding to agentic engineering in Python, using tests, types, and code review to prove an AI agent’s changes are safe to keep.
REAL PYTHON

Automating EDA With fg-data-profiling
Automate exploratory data analysis by transforming DataFrames into interactive reports with one command from fg-data-profiling.
REAL PYTHON course

5 Design Patterns Used in My New Habit Tracker App
Bob has built a Django + HTMX based habit tracker. This article covers five small Python and design patterns used in his code.
BOB BELDERBOS


Projects & Code


Brought to you by Real Pythonsponsor
Online Python Training Created by Experts →

fastapi-security-headers: OWASP Security Headers for FastAPI
GITHUB.COM/ALEJANDROTG-CODE • Shared by Alejandro Tacoronte González

citry: Frontend Web Framework for Python
GITHUB.COM/CITRY-DEV

tonio: A Multi-Threaded Async Runtime for Python
GITHUB.COM/GI0BARO

django-absurd: Django Integration for Postgres Absurd
GITHUB.COM/LINCOLNLOOP

securo: OSS Personal Finance Manager
GITHUB.COM/SECURO-FINANCE

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
September 23, 2026

Django on the Med 2026
September 23 to September 26, 2026

PythonCamp Rügen 2026
September 26 to September 28, 2026

Python Sheffield
September 29, 2026

Python Southwest Florida (PySWFL)
September 30, 2026

PyBay 2026
October 3 to October 4, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.