shy stackless Re: ANNOUNCE: xsdb -- the eXtremely Simple Database goes alpha
Paul Rubin
http
Thu Dec 11 02:12:18 EST 2003
"Fredrik Lundh" <fredrik at pythonware.com> writes:
> 5) use an event loop and use a generator for the relevant code;
> when you discover that you need to pause, yield to the framework.
This kind of design really could benefit from Raymond Hettinger's PEP
of a while back, proposing being able to pass parameters from the
caller back to the yield statement of a yielded generator.
More information about the Python-list
mailing list