4 ms·
Python does the same thing. It just calls Throwable something different. Java Throwable ~= Python BaseException. Java Exception ~= Python Exception. The prob
by williamsmj 2y ago
Python does the same thing. It just calls Throwable something different.
Java Throwable ~= Python BaseException.
Java Exception ~= Python Exception.
The problem here is that a bare except catches something similar to Throwable, not something similar to Exception.