[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/metaclasses Meta.py,1.3,1.4
Guido van Rossum
guido@python.org
Mon, 15 Jan 2001 13:35:54 -0500
> > 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>
The code is correct. Ignore the comment. :-(
--Guido van Rossum (home page: http://www.python.org/~guido/)