Y
Hacker News
new
|
ask
|
show
|
jobs
by
paiute
619 days ago
Exactly, python is not Java. I don’t want it to be. There are perfectly good cases to catch all exceptions like this.
1 comments
williamsmj
619 days 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".
link