

Python 3.14: Exploring the New Features
34 snips Oct 10, 2025
Bartosz Zaczyński, a Real Python team member, and Christopher Trudeau, an instructor and course author, delve into the exciting features of Python 3.14. They explore the enhanced REPL with colorful syntax and improved commands. Zstandard compression gets a spotlight, along with safer debugging hooks and the benefits of lazy annotation evaluation. The duo highlights practical tips for adopting the new features in projects, ensuring developers are ready to embrace the latest updates!
AI Snips
Chapters
Transcript
Episode notes
Repl Gains Powerful Interactivity
- Python 3.14 significantly upgrades the REPL with import-aware tab completion and near full syntax highlighting.
- Persistent history, block editing, and quick commands make interactive development much smoother.
Numbers And Compression Updated
- Python 3.14 adds Zstandard compression and reorganizes compression modules under a new compression package.
- Complex-number behavior and fractional underscore separators for floats are corrected and improved.
Annotations Become Lazy And Cached
- Annotations are now lazy: Python delays evaluation and caches results, avoiding startup costs and forward-reference errors.
- New APIs let you request evaluated objects or string forms to suit type-checking or runtime-use cases.