core.py cover image

Episode 6 - An Exceptional Episode

core.py

00:00

Suppressing Exception Context with PEP409

The chapter discusses the importance of error handling and introduces the concept of suppressing exception context in PEP409. It explains how raising your own exception can change the caught exception, and how to use 'raise exception from none' syntax. It also covers the usage of 'Ellipsis' for exceptions and the addition of '__suppress_context' attribute.

Play episode from 32:14
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app