5 ms·
Exactly, python is not Java. I don’t want it to be. There are perfectly good cases to catch all exceptions like this.
by paiute 2y ago
Exactly, python is not Java. I don’t want it to be. There are perfectly good cases to catch all exceptions like this.
- williamsmj 2y agoI'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".