How can learning Rust help make you a better Python Developer? How do techniques required by a compiled language translate to improving your Python code? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.
We discuss a recent article by Bob Belderbos titled “Learning Rust Made Me a Better Python Developer.” Bob has been on a journey learning to program in Rust, which has made him rethink how he’s been writing Python. The compiler forced him to confront things he’d been ignoring.
We also share other articles and projects from the Python community, including recent releases, a boatload of PEPs, NumPy as a synth engine, firing and forgetting with Python’s asyncio, managing state with signals in Python, a documentation site generator for Python packages, and a tool to explain your Python environment.
This episode is sponsored by AgentField.
Video Course Spotlight: Using Loguru to Simplify Python Logging
Learn how to use Loguru for simpler Python logging, from zero-config setup and custom formats to file rotation, retention, and adding context.
00:00:00 – Introduction00:02:23 – Python 3.15.0a8, 3.14.4 and 3.13.13 Released00:03:01 – Django Security Releases: 6.0.4, 5.2.13, and 4.2.3000:03:38 – DjangoCon Europe 2027 Call for Organizers00:04:04 – PEP 803: "abi3t": Stable ABI for Free-Threaded Builds00:04:44 – PEP 829: Structured Startup Configuration via .site.toml File00:05:18 – PEP 830 – Add timestamps to exceptions and tracebacks00:05:44 – PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python00:06:59 – PEP 832 – Virtual environment discovery00:10:13 – PyCoder’s Weekly - Submit a Link00:11:15 – NumPy as Synth Engine00:21:04 – Sponsor: AgentField00:22:05 – Fire and Forget at Textual00:25:39 – Learning Rust Made Me a Better Python Developer00:34:06 – Video Course Spotlight00:35:49 – Signals: State Management for Python Developers00:40:34 – great-docs: Documentation Site Generator for Python Package00:42:32 – pywho: Explain Your Python Environment and Detect Shadows00:44:01 – Thanks and goodbyePython 3.15.0a8, 3.14.4 and 3.13.13 ReleasedDjango Security Releases: 6.0.4, 5.2.13, and 4.2.30DjangoCon Europe 2027 Call for OrganizersPEP 803: "abi3t": Stable ABI for Free-Threaded Builds (Accepted)PEP 829: Structured Startup Configuration via .site.toml Files (Added)PEP 830 – Add timestamps to exceptions and tracebacksPEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for PythonPEP 832 – Virtual environment discoveryPyCoder’s Weekly - Submit a LinkThe Real Python PodcastNumPy as Synth Engine – Kenneth has “recorded” a song in a Python script. The catch? No sampling, no recording, no pre-recorded sound. Everything was done through generating wave functions in NumPy. Learn how to become a mathematical musician.Fire and Forget at Textual – In this follow up to a previous article (Fire and forget (or never) with Python’s asyncio, Michael discusses a similar article by Will McGugan as it relates to Textual. He found the problematic pattern in over 500K GitHub files.Learning Rust Made Me a Better Python Developer – Bob thinks that learning Rust made him a better Python developer. Not because Rust is better, but because it made him think differently about how he has been writing Python. The compiler forced him to confront things he’d been ignoring.Signals: State Management for Python Developers – If you’ve ever debugged why your cache didn’t invalidate or notifications stopped firing after a “simple” state change, this guide is for you. Signals are becoming a JavaScript standard, but Python developers can use the same patterns to eliminate “forgot to update that thing” bugs.great-docs: Documentation Site Generator for Python Packagespywho: Explain Your Python Environment and Detect ShadowsOpen Source Gave Me Everything Until I Had Nothing Left to Give - Kenneth ReitzYeah… this was impressive to see. #tabla - Escalated Quickly - YouTubePyTheory Is Awesome - Kenneth Reitz PyTheory: Music Theory for Humans – PyTheory 0.42.1 documentation A Mini DAW in the Python REPL - Kenneth Reitz Episode #210: Creating a Guitar Synthesizer & Generating WAV Files With PythonAngine de Poitrine - VidéosEpisode #195: Building a Healthy Developer Mindset While Learning PythonBite‑sized Rust learning, powered by PybitesEpisode #214: Build Captivating Display Tables in Python With Great TablesLevel up your Python skills with our expert-led courses:
Thread Safety in Python: Locks and Other TechniquesNumPy Techniques and Practical ExamplesUsing Loguru to Simplify Python Logging Support the podcast & join our community of Pythonistas