Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Exploring the Latest Features of Python 3.12

Conf42 via YouTube

Overview

Explore the latest features of Python 3.12 in this 15-minute conference talk from Conf42 Python 2024. Dive into typing improvements, including new syntax for generics, TypeDict, and advanced type parameters. Learn about syntax enhancements such as reusing quotes within f-strings, arbitrary nesting of f-strings, and multi-line expressions. Discover performance optimizations like asyncio enhancements, unique per-interpreter GIL, and comprehension inlining. Gain insights into debugging improvements, including better NameError suggestions and low-impact monitoring. Cover additional enhancements to the buffer protocol, immortal objects, and other key updates in this comprehensive overview of Python 3.12's new capabilities.

Syllabus

intro
preamble
the latest features of python 3.12
typing improvements
generics with new syntax
typedict
override decorator
advanced type parameters
type aliases
lazy evaluation
syntax improvements
reusing quotes within f-strings
arbitraty nesting of f-strings
multi-line expressions and comments
backlashes and unicode characters
improved error messaging for f-strings
itertools.batched
performance
asyncio performance enhancements
boost in inspect and typing modules
unique per interpreter gil
comprehension inlining
immortal objects
buffer protocol
other enhancements
debugging
improved nameerror suggestions
syntax and importerror enhancements
low impact monitoring
resources & links

Taught by

Conf42

Reviews

Start your review of Exploring the Latest Features of Python 3.12

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.