Talk Python To Me cover image

#388: Python 3.11 is here and it's fast

Talk Python To Me

Is There a Better Way to Report Errors in Python?

3min Snip

00:00
Play full episode
In Python 3.10, you can report all the errors that a function has failed to resolve. Zak Dodds wrote PEP 678 for this feature; it was received surprisingly well. You can add strings to an exception and call it as many times as you want,. And they will appear in the default trace back that the interpreter prints.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode