try... except with unknown error types

gene heskett gheskett at
Tue Aug 23 04:43:18 EDT 2011

On Tuesday, August 23, 2011 04:42:04 AM Chris Angelico did opine:

> On Tue, Aug 23, 2011 at 8:21 AM, Paul Rubin < at nospam.invalid> 
> > Chris Angelico <rosuav at> 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.
> Yeah. Oh, I know when I've fixed the last bug in a program. It's the
> day the program gets deleted. Until then? Nope.
> ChrisA

OTOH, ChrisA, I have it on good authority that no program is ever finished, 
until someone shoots the programmer.  :)

Cheers, gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

Practice is the best of all instructors.
		-- Publilius

More information about the Python-list mailing list