A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics. Join us every Friday morning to hear what's new in the world of Python programming and become a more effective Pythonista.

Exploring the New Features of Python 3.11

November 04, 2022 1:02:26 60.97 MB Downloads: 0

Python 3.11 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to talk about the new version. Geir Arne wrote a series of preview tutorials earlier this year, and his annual piece, titled “Python 3.11: Cool New Features for You to Try,” was published on October 24. Christopher’s video course came out the next day, covering the topics from the tutorial with visual examples of Python 3.11 in action.

Geir Arne and Christopher collaborated to create code examples for the new features. We discuss better error messages, faster code execution, task and exception groups, typing features, and native TOML support.

We dive into the updates and offer advice about ways to incorporate them into your projects. We also consider when you should start running Python 3.11.

Course Spotlight: Cool New Features in Python 3.11 – Real Python

In this video course, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.

Topics:

  • 00:00:00 – Introduction
  • 00:02:19 – Preview series
  • 00:03:50 – Faster CPython project
  • 00:07:10 – Specializing adaptive interpreter
  • 00:11:24 – Other performance stuff
  • 00:16:07 – Sponsor: Deepgram
  • 00:16:51 – Improved tracebacks
  • 00:21:49 – Exception groups and notes
  • 00:27:22 – Self type and additional type hints
  • 00:36:14 – Video Course Spotlight
  • 00:37:27 – asyncio and task groups
  • 00:41:25 – TOML and tomllib
  • 00:46:21 – ISO date parsing
  • 00:50:09 – Negative zeros
  • 00:53:38 – Dead battery deprecations
  • 00:56:04 – Advice on upgrading
  • 01:01:01 – Thanks and goodbye

Show Links:

Support the podcast & join our community of Pythonistas