
#388: Python 3.11 is here and it's fast
Talk Python To Me
00:00
Is There a Better Way to Report Errors in Python?
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.
Transcript
Play full episode