try... except with unknown error types

Paul Rubin no.email at nospam.invalid
Tue Aug 23 09:21:45 CEST 2011


Chris Angelico <rosuav at gmail.com> writes:
> Ehh, granted. Definitely a case of "should". But certainly, there
> won't be an infinite number of new exceptions invented; 

Right, the number is finite, but the issue is that it's unknown.  It's
like never knowing whether you've fixed the last bug in a program.



More information about the Python-list mailing list