[CentralOH] Missing Exceptions?
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Tue Dec 13 21:30:03 CET 2011
I wrote:
try:
float(s)
except (ValueError):
Later I realized that I had missed an exception,
so the code was updated to:
try:
float(s)
except (ValueError, TypeError): # !!! What exception names am I missing?
How does one determine what all the relevant exceptions are?
How does one conclude that the the list of exceptions is complete?
Those questions are general, about all try/except stuff,
not just my little example.
More information about the CentralOH
mailing list