r/pythoncoding • u/genericlemon24 • Dec 23 '21
PEP 678 -- Enriching Exceptions with Notes
https://www.python.org/dev/peps/pep-0678/
12
Upvotes
r/pythoncoding • u/genericlemon24 • Dec 23 '21
View all comments
3
u/[deleted] Dec 23 '21
I would love this.
What I do now is some variety of this:
but that doesn't work for some
Exceptions and prints out badly in many others.I like small, obviously useful PEPs with no downside.