[Twisted-Python] Consistent interfaces to asynchronous partially-available services using Deferreds and state machines (was Re: Another approach to allowing __init__ to work with Deferreds)

Phil Christensen phil at bubblehouse.org
Tue May 12 08:52:59 MDT 2009


On May 12, 2009, at 10:47 AM, Phil Christensen wrote:
> I don't know if I agree with the need for such a feature (that is,
> deferred __init__ usage), but it was a very interesting coding
> challenge I wanted to take a whack at. I *think* I might have found a
> solution, but I don't know if it falls under the heading of "decorator
> abuse" ;-)

Ugh, that code got fairly mangled by my email client. Here's an  
attachment.

-phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_deferred.py
Type: text/x-python-script
Size: 1874 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20090512/2e96f8d3/attachment-0002.bin>
-------------- next part --------------



More information about the Twisted-Python mailing list