A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011671.html below:

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

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/metaclasses Meta.py,1.3,1.4Guido 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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4