Sveriges mest populära poddar

The Real Python Podcast

Exploring the New Features of Python 3.11

62 min • 4 november 2022

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.

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:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

Kategorier
Förekommer på
00:00 -00:00