[Python-Dev] metaclass insanity (original) (raw)

Aahz aahz@pythoncraft.com
Tue, 5 Nov 2002 10:16:16 -0500


On Tue, Nov 05, 2002, David Abrahams wrote:

Just van Rossum <just@letterror.com> writes:

No, the generator-iterator can hold state in the form of local variables. That isn't used in this example, though. Ahh, closures...

Huh. Do other people agree that generators are a form of closures?

Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/