tubeshowcase●1,669,464 videos♡ My collection 0
← Learn to Code

Learn to Code25:04

Notes, Groups and Stars: exceptional new features of Python 3.11! - Zac Hatfield-Dodds

PyCon US ↗

From the creator

Notes, Groups, and Stars aren't just for concerts - they're also exception-ally useful features for error handling, new in Python 3.11! In this talk, we'll explore a neglected corner of Python: exceptions and error handling! What would we like Python to do for us, when our programs do something we didn't expect? How can we help other programmers understand failures in our code? We'll take a broad view, starting from fundamentals like exceptions vs return values, before zooming through a history of tracebacks and chaining, and arriving at the glorious present with .add_note(), ExceptionGroup, and except*. You'll leave not just educated but enthused and excited - but perhaps even a ten-ex except-star developer!

Published 2025-05-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code