Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes:
> 
> It's not really about doing away with trampolines anyway.
> You still need at least one trampoline-like thing at the
> top. What you do away with is the need for creating
> special objects to yield, and the attendant syntactic
> clumisiness and inefficiencies.

No you don't, not in the Twisted case. The fact that useful library routines
return Deferred objects to which you add callbacks and errbacks is probably not
going away, because it's a fundamental building block in Twisted, not a
convenience for scheduling generators.

As a matter of fact, the people whom this PEP is supposed to benefit haven't
expressed a lot of enthusiasm right now. That's why it looks so academic.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to