Issue #720

Subprocess, Memray, Callables, and More

Feb. 3, 2026

Subprocess, Memray, Callables, and More
#720 – FEBRUARY 3, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Ending 15 Years of subprocess Polling
Python’s standard library subprocess module relies on busy-loop polling to determine whether a process has completed yet. Modern operating systems have callback mechanisms to do this, and Python 3.15 will now take advantage of these.
GIAMPAOLO RODOLA

Django: Profile Memory Usage With Memray
Memory usage can be hard to keep under control in Python projects. Django projects can be particularly susceptible to memory bloat, as they may import many large dependencies. Learn how to use memray to learn what is going on.
ADAM JOHNSON

B2B Authentication for any Situation - Fully Managed or BYO
What your sales team needs to close deals: multi-tenancy, SAML, SSO, SCIM provisioning, passkeys…What you’d rather be doing: almost anything else. PropelAuth does it all for you, at every stage. →
PROPELAUTHsponsor

Create Callable Instances With Python’s .__call__()
Learn Python callables: what “callable” means, how to use dunder call, and how to build callable objects with step-by-step examples.
REAL PYTHON course

Take the Python Developers Survey 2026
PYTHON SOFTWARE FOUNDATION


Articles & Tutorials


The C-Shaped Hole in Package Management
System package managers and language package managers are solving different problems that happen to overlap in the middle. This causes complications when languages like Python depend on system libraries. This article is a deep dive on the different pieces involved and why it is the way it is.
ANDREW NESBITT

Use \z Not $ With Python Regular Expressions
The $ in a regular expression is used to matching the end of a line, but in Python, it matches a line end both with and without a \n. Python 3.14 added support for \z, which is widely supported by other languages, to get around this problem.
SETH LARSON

Python errors? Fix ‘em fast for FREE with Honeybadger
If you support web apps in production, you need intelligent logging with error alerts and de-duping. Honeybadger filters out the noise and transforms Python logs into contextual issues so you can find and fix errors fast. Get your FREE account →
HONEYBADGERsponsor

Speeding Up Pillow’s Open and Save
Hugo used the Tachyon profiler to examine the open and save calls in the Pillow image processing module. He found ways to optimize the calls and has submitted a PR, this post tells you about it.
HUGO VAN KEMENADE

Some Notes on Starting to Use Django
Julia has decided to add Django to her coding skills and has written some notes from her first experiences. See also the associated HN discussion
JULIA EVANS

How Long Does It Take to Learn Python?
This guide breaks down how long it takes to learn Python, with realistic timelines, weekly study plans, and strategies to speed up your progress.
REAL PYTHON

uv Cheatsheet
uv cheatsheet that lists the most common and useful uv commands across project management, working with scripts, installing tools, and more!
MATHSPP.COM • Shared by Rodrigo Girão Serrão

What’s New in pandas 3
pandas 3.0 has just been released. This article uses a real‑world example to explain the most important differences between pandas 2 and 3.
MARC GARCIA

GeoPandas Basics: Maps, Projections, and Spatial Joins
Dive into GeoPandas with this tutorial covering data loading, mapping, CRS concepts, projections, and spatial joins for intuitive analysis.
REAL PYTHON

Quiz: GeoPandas Basics: Maps, Projections, and Spatial Joins
REAL PYTHON

Things I’ve Learned in My 10 Years as an Engineering Manager
Non-obvious advice that Jampa wishes he’d learned sooner. Associated HN Discussion
JAMPA UCHOA

Django Views Versus the Zen of Python
Django’s generic class-based views often clash with the Zen of Python. Here’s why the base View class feels more Pythonic.
KEVIN RENSKERS


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

oban: Job Orchestration Framework for Python
GITHUB.COM/OBAN-BG • Shared by Parker Selbert

dj-celery-panel: Celery Task Inspector for Django Admin
GITHUB.COM/YASSI

cmd-chat: Peer-to-Peer Encrypted CLI Chat
GITHUB.COM/DIORWAVE

jetbase: Database Migration Tool for Python
GITHUB.COM/JETBASE-HQ

calgebra: Set Operations for Calendar Intervals
GITHUB.COM/ASHENFAD

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
February 4, 2026

Canberra Python Meetup
February 5, 2026

Sydney Python User Group (SyPy)
February 5, 2026

PyDelhi User Group Meetup
February 7, 2026

PiterPy Meetup
February 10, 2026

Leipzig Python User Group Meeting
February 10, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.