[Twisted-Python] A nit on "Generalization of Deferred Execution in Python"
Tommi Virtanen
tv at twistedmatrix.com
Fri Jan 17 08:27:29 MST 2003
http://cumulo-nimbus.mit.edu/deferex.xhtml
"It is suggested that methods which must perform long-running
calculations or communication with a remote host may return a
Deferred."
That's a horribly misleading paragraph. What you probably want
to say is that you recommend such things to return a Deferred
-- I currently read that such that functions should sometimes
return Deferreds and sometimes real results, and that is very
confusing. That's why there are defer.succeed() and
defer.fail().
More information about the Twisted-Python
mailing list