[Python-Dev] uthread strawman
Greg Ewing
greg@cosc.canterbury.ac.nz
Fri, 10 Nov 2000 11:30:08 +1300 (NZDT)
Christian Tismer <tismer@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@cosc.canterbury.ac.nz +--------------------------------------+