The Real Python Podcast

Python 3.14: Exploring the New Features


Listen Later

Python 3.14 is here! Christopher Trudeau returns to discuss the new version with Real Python team member Bartosz Zaczyński. This year, Bartosz coordinated the series of preview articles with members of the Real Python team and wrote the showcase tutorial, “Python 3.14: Cool New Features for You to Try.” Christopher’s video course, “What’s New in Python 3.14”, covers the topics from the article and shows the new features in action.

Christopher and Bartosz dug into the new release to create code examples showcasing the new features for the tutorial and course. We look at the enhanced and more colorful REPL experience, better error messages, safer hooks for live debugging, and deferred annotation evaluation. We also discuss template strings, Zstandard compression, and multiple performance improvements.

We share our thoughts on the updates and offer advice about incorporating them into your projects. We also discuss when you should start running Python 3.14.

Course Spotlight: What’s New in Python 3.14

Covers Python 3.14’s key changes: free-threading, subinterpreters, t-strings, lazy annotations, new REPL features, and improved error messages.

Topics:

  • 00:00:00 – Introduction
  • 00:02:03 – Cool New Features for You to Try - Tutorial
  • 00:02:20 – What’s New in Python 3.14 - Video Course
  • 00:02:54 – Even Friendlier Python REPL
  • 00:05:05 – Allow “json” instead of “json.tool”
  • 00:05:49 – Zstandard compression
  • 00:06:37 – Working With Numbers
  • 00:11:09 – Deferred Evaluation of Annotations
  • 00:17:35 – More Helpful Error Messages
  • 00:20:41 – Warnings in try…finally Blocks
  • 00:22:08 – Safer Live Process Debugging
  • 00:25:22 – Pathlib Improvements
  • 00:26:50 – Additional assert methods for unittest
  • 00:27:19 – Template Strings (T-strings)
  • 00:31:01 – Free-threaded Build Updates
  • 00:35:30 – Incremental Garbage Collector
  • 00:37:59 – functools partial & placeholder improvement
  • 00:40:13 – Video Course Spotlight
  • 00:41:12 – Experimental JIT Builds
  • 00:46:52 – Parallel Subinterpreters
  • 00:48:59 – Unicode Database Update
  • 00:49:47 – 𝜋thon - Easter Egg
  • 00:51:26 – Starting to use the new version
  • 00:55:26 – Thanks and goodbye
  • Show Links:

    • Python 3.14: Cool New Features for You to Try – Real Python
    • What’s New in Python 3.14
    • Python 3.14 Preview: REPL Autocompletion and Highlighting – Real Python
    • Python 3.13 Preview: A Modern REPL – Real Python
    • Allow “-m json” instead of “-m json.tool” · Issue #122873
    • compression.zstd — Compression compatible with the Zstandard format — Python 3.14.0 documentation
    • Python 3.14 Preview: Lazy Annotations – Real Python
    • Python 3.14 Preview: Better Syntax Error Messages – Real Python
    • PEP 765: Control flow in finally blocks — Python 3.14.0 documentation
    • Remote debugging attachment protocol — Python 3.14.0 documentation
    • Python 3.14 Preview: Template Strings (T-Strings)
    • functools.partial placeholders · Issue #119127
    • garbage_collector Internal Docs at 3.14
    • Python 3.13: Free Threading and a JIT Compiler
    • Multiple interpreters in the standard library — Python 3.14.0 documentation
    • Additional Links:

      • PEP 784: Zstandard support in the standard library - Python 3.14.0 documentation
      • Episode #262: Travis Oliphant: SciPy, NumPy, and Fostering Scientific Python
      • Simplify Complex Numbers With Python – Real Python
      • Using Python’s pathlib Module – Real Python
      • Exploring Python T-Strings – Video Course
      • Python 3.13 Preview: Free Threading and a JIT Compiler – Real Python
      • Compatibility Status Tracking - Python Free-Threading Guide
      • PyPy
      • functools Module (Video) – Real Python
      • Python 3.12 Preview: Subinterpreters – Real Python
      • Level up your Python skills with our expert-led courses:

        • What's New in Python 3.13
        • What's New in Python 3.14
        • What's New in Python 3.12
        • Support the podcast & join our community of Pythonistas

          ...more
          View all episodesView all episodes
          Download on the App Store

          The Real Python PodcastBy Real Python

          • 4.7
          • 4.7
          • 4.7
          • 4.7
          • 4.7

          4.7

          139 ratings


          More shows like The Real Python Podcast

          View all
          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          290 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          622 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          584 Listeners

          Soft Skills Engineering by Jamison Dance and Dave Smith

          Soft Skills Engineering

          288 Listeners

          Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

          Super Data Science: ML & AI Podcast with Jon Krohn

          302 Listeners

          Python Bytes by Michael Kennedy and Brian Okken

          Python Bytes

          215 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          986 Listeners

          Darknet Diaries by Jack Rhysider

          Darknet Diaries

          8,061 Listeners

          Tech Brew Ride Home by Morning Brew

          Tech Brew Ride Home

          961 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          205 Listeners

          AWS Podcast by Amazon Web Services

          AWS Podcast

          204 Listeners

          Django Chat by William Vincent and Carlton Gibson

          Django Chat

          75 Listeners

          Last Week in AI by Skynet Today

          Last Week in AI

          306 Listeners

          Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

          Machine Learning Street Talk (MLST)

          96 Listeners

          The Pragmatic Engineer by Gergely Orosz

          The Pragmatic Engineer

          72 Listeners