[Twisted-Python] why deferred.setTimeout is not my favorite API method

Andrew Bennetts andrew-twisted at puzzling.org
Sat Apr 17 18:28:41 MDT 2004


On Sat, Apr 17, 2004 at 11:59:22PM +0000, exarkun at divmod.com wrote:
> 
>   setTimeout() is the only part of Deferreds that tie them to
>   twisted.internet.  If it is removed, defer.py could (other issues, such
>   as backwards compatibility and user consternation aside) be moved to the
>   twisted.python package.  It also makes it that much easier to use
>   Deferreds with a non-Twisted reactor.

This bugs me too, but only a little.  I can't think of any other
asynchronous python frameworks outside of Twisted that might want to use
Deferreds.

-Andrew.





More information about the Twisted-Python mailing list