[Stackless] Re: [Python-Dev] uthread strawman

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Nov 9 23:30:08 CET 2000

Christian Tismer <tismer at tismer.com>:

> Using continuations, I can build method-like functions
> without classes and instances

Couldn't you achieve the same thing with a closure, if 
Python acquires nested scopes?

My first attempt at implementing classes in Scheme
used continuations, until I realised that closures
were all that you needed.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+
Stackless mailing list
Stackless at starship.python.net

More information about the Stackless mailing list