[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/metaclasses Meta.py,1.3,1.4
Tue, 16 Jan 2001 03:07:48 +0200 (IST)
On Mon, 15 Jan 2001, Guido van Rossum <firstname.lastname@example.org> wrote:
> Modified Files:
> Log Message:
> Geoffrey Gerrietts discovered that a KeyError was caught that probably
> should have been a NameError. I'm checking in a change that catches
> both, just to be sure -- I can't be bothered trying to understand this
> code any more. :-)
> ! except (KeyError, AttributeError):
Ummmm....can you be bothered to make sure you really meant AttributeError
when you said NameError? <wink>
Moshe Zadka <email@example.com>
This is a signature anti-virus.
Please stop the spread of signature viruses!