Q: Caller's frame, was: Re: Q: Interactive input
Christian Tismer
tismer at tismer.com
Tue Nov 7 07:11:31 EST 2000
KevinL wrote:
...
> 2) Stackless. Stackless python will give you this sort of behaviour, although
> I'm still wrapping my head around the intricacies of how to do that. I'm
> reasonably sure you could do funkier things with stackless, but it may be a
> bit overblown.
>>> import continuation
>>> continuation.caller().frame
<frame object at e81968>
>>>
stackless - ly y'rs - chris
--
Christian Tismer :^) <mailto:tismer at tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Kaunstr. 26 : *Starship* http://starship.python.net
14163 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
where do you want to jump today? http://www.stackless.com
More information about the Python-list
mailing list