[Twisted-Python] raw deferreds vs deferredGenerator vs inlineCallbacks
Marcin Kasperski
Marcin.Kasperski at softax.com.pl
Wed Aug 13 13:47:53 EDT 2008
I wrote a short example comparing the 3. Prepared it mostly for
myself, but maybe it will be of some use for somebody:
http://blog.mekk.waw.pl/archives/14-Twisted-inlineCallbacks-and-deferredGenerator.html
PS Crucial function:
raw deferreds - 29 non-empty lines of code,
deferredGenerator - 26 lines,
inlineCallbacks - 17 lines
--
----------------------------------------------------------------------
| Marcin Kasperski | Systems built by humans are always subject
| http://mekk.waw.pl | to human error. (Parnas)
| |
----------------------------------------------------------------------
More information about the Twisted-Python
mailing list