[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/metaclasses Meta.py,1.3,1.4

Moshe Zadka moshez@zadka.site.co.il
Tue, 16 Jan 2001 03:07:48 +0200 (IST)

On Mon, 15 Jan 2001, Guido van Rossum <gvanrossum@users.sourceforge.net> wrote:

> Modified Files:
> 	Meta.py 
> 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 <sig@zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!