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/2002-November/029915.html below:

[Python-Dev] metaclass insanity

[Python-Dev] metaclass insanity [Python-Dev] metaclass insanityJust van Rossum just@letterror.com
Tue, 5 Nov 2002 16:32:57 +0100
Aahz wrote:

> Hmmmm...  I'm surprised that you're surprised. 

Yeah, I see now that I was somewhat naive...

> Here's my slide from
> OSCON2002:
> 
> Generators simpler 
>     No need to explicitly maintain state 
[ ... ]

Well, in this particular example no state is maintained in either version.
Generators are simply a higher level way of building an iterator, because
there's no need to explicitly raise StopIteration.

Just



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