Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
paiute
· 2y ago · 0 comments
Exactly, python is not Java. I don’t want it to be. There are perfectly good cases to catch all exceptions like this.
Comments
[–]
williamsmj
2y ago
I'm weakly opposed to the PEP, but if your concern is that you're going to lose the ability to catch all exceptions in new code, then that's wrong as discussed in the Backwards Compatibility section, i.e. do "except BaseException".