Python 3.15: Exploring the New Features
Oct 2, 2026 · 44m
Summary
Episode 313 of The Real Python Podcast features Christopher Trudeau and Bartosz Zaczyński discussing Python 3.15’s new features. They cover the new `sentinel` built-in, lazy import syntax, unpacking in comprehensions, and the `frozendict` type. The hosts also explore performance improvements like the new Tachyon sampling profiler and JIT compiler updates, while offering advice on when to adopt the new release.
Topics discussed
Intro: Python 3.15 release delay and RC3
Promo: What's New in Python 3.15 video course
Guest introductions and release overview
New built-in sentinel function for API updates
Lazy imports with the new lazy keyword
Unpacking in comprehensions (PEP 798)
Math module updates: integer submodule and fmax/fmin
New sampling profiler and profiling package
Summary of key features and video course recap
Frozen dict: new immutable mapping type
Speed round: Colorization, error messages, and UTF-8
Free-threaded mode and GIL removal status
When to upgrade to the latest Python version
Future imports and backward compatibility strategies
Closing remarks and call to action
Listen ad-free on Castria