[Twisted-Python] sleeping in inlineCallbacks

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Oct 7 21:12:45 MDT 2009


On Wed, Oct 7, 2009 at 11:08 PM, Mikhail Terekhov <termim at gmail.com> wrote:

>
> What about Deferred.setTimeout?
> http://twistedmatrix.com/documents/current/api/twisted.internet.defer.Deferred.html#setTimeout
> IMHO it solves similar problem.
>

Deferred.setTimeout does something else.  More importantly, it is
deprecated.  Furthermore, it's fundamentally broken and cannot be made to
work in a reliable way.  Don't use it, or your Twisted programs will break
in a future release of Twisted Core.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20091007/5aa443e4/attachment-0001.html>


More information about the Twisted-Python mailing list