DangerousExceptions (was Re: [Q] Are Exceptions used that much in practice?)
tdelaney at avaya.com
Wed Dec 13 00:57:40 CET 2000
Very much the Java system of "Exception" vs "Error". Anything which is an
"Error" is something which you probably can't recover from (or at least not
easily), though you may be able to fail gracefully. An "Exception" OTOH is
something which you should be able to deal with.
+61 2 9352 9079
> While at this i always wished that Exception has two subclasses:
> "NormalException" and "DangerousException" so one can use
> except NormalException: return 0
> and not worry about MemoryError, KeyboardInterrupt, SystemExit,
> ComputerExplodingError :) being improperly handled.
More information about the Python-list