Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This 25-minute PyCon US talk explores the exciting new exception handling features introduced in Python 3.11, including Notes, Groups, and Stars. Dive into the often overlooked world of Python exceptions and error handling to discover how these tools can improve code clarity and debugging. Learn what makes effective error handling, starting with fundamentals like choosing between exceptions and return values, then journey through the evolution of tracebacks and exception chaining before exploring the newest additions: the .add_note() method, ExceptionGroup, and the except* syntax. Gain practical knowledge about how these features can help other developers better understand failures in your code and leave with enthusiasm about implementing these powerful error handling techniques in your Python projects.
Syllabus
Notes, Groups and Stars: exceptional new features of Python 3.11!
Taught by
PyCon US