try... except with unknown error types

Chris Angelico rosuav at
Tue Aug 23 10:26:11 CEST 2011

On Tue, Aug 23, 2011 at 8:21 AM, Paul Rubin < at nospam.invalid> wrote:
> 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.


More information about the Python-list mailing list