[Python-Dev] metaclass insanity

Kevin Jacobs jacobs@penguin.theopalgroup.com
Tue, 5 Nov 2002 10:42:02 -0500 (EST)


On Tue, 5 Nov 2002, Just van Rossum wrote:
> David Abrahams wrote:
> 
> > > No, the generator-iterator can hold state in the form of local
> > > variables. That isn't used in this example, though.
> > 
> > Ahh, closures...
> 
> Nah, it's just a resumable function...

Which is a closure, aka lexically scoped namespace.  It is not, however, a
continuation.

-Kevin

--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com