[Twisted-Python] Twisted 2.x How To Fix : DeprecationWarning: Deferred.setTimeout is deprecated ?

Andrew Bennetts andrew-twisted at puzzling.org
Mon Mar 28 19:36:42 EST 2005

On Mon, Mar 28, 2005 at 02:44:13PM -0500, jarrod roberson wrote:
> I have some older code that uses Deferred.setTimeout() what is the
> appropriate change/replacement for this functionality? I looked at the
> new code and don't understand the suggested solution to this warning

See http://twistedmatrix.com/bugs/issue178, and the mailing list thread it
links to for some discussion about this.

The short version is you should do it yourself with callLater.


More information about the Twisted-Python mailing list