[Twisted-Python] Non-blocking webserver - what am I doing wrong?

Dave Gray dgray at omniti.com
Wed Apr 27 10:30:44 EDT 2005

> >         d = defer.Deferred()
> >         d.addCallback(requestDebug)
> >         d.callback(request)
> Note that this code is more or less equivalent to
>            requestDebug(request)

Except that my version returns before the requestDebug call is done. 
Even though I'm a Deferred n00b, I don't think I misunderstood _that_. 
By all means, correct me if I'm wrong...

More information about the Twisted-Python mailing list