~/talk

Exploring the Latest Features of Python 3.12

Talkat Conf42 Python 2024 · on Thursday, 2024-02-29· [python]
slides:none on file

Concrete upgrades: generics use bracket syntax and the new type statement for cleaner aliases, TypedDict now appears in function signatures, and an override decorator enforces correct method overrides. F strings allow reused quotes, arbitrary nesting, comments and clearer error messages. Performance changes include up to 75% asyncio speedup, current_task moved to C for 4–6× faster task ops, comprehension inlining roughly 2× faster, per-interpreter GIL, immortal objects, itertools.batched and a low‑impact monitoring API.

AI-written summary · about

  1. 0:00intro
  2. 0:20preamble
  3. 0:39typing improvements
  4. 1:21generics with new syntax
  5. 1:52typedict
  6. 2:37override decorator
  7. 3:10advanced type parameters
  8. 3:58type aliases
  9. 4:28lazy evaluation
  10. 5:03syntax improvements
  11. 5:45reusing quotes within f-strings
  12. 6:14arbitraty nesting of f-strings
  13. 6:33multi-line expressions and comments
  14. 7:02backlashes and unicode characters
  15. 7:21improved error messaging for f-strings
  16. 7:48itertools.batched
  17. 8:13performance
  18. 8:42asyncio performance enhancements
  19. 9:16boost in inspect and typing modules
  20. 9:52unique per interpreter gil
  21. 10:26comprehension inlining
  22. 11:12immortal objects
  23. 11:50buffer protocol
  24. 12:26other enhancements
  25. 12:50debugging
  26. 13:17improved nameerror suggestions
  27. 13:42syntax and importerror enhancements
  28. 14:07low impact monitoring
  29. 14:48resources & links
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.