[Twisted-Python] Twisted and PEP 3148 support

Alex Grönholm alex.gronholm at nextday.fi
Mon Jan 10 16:36:44 MST 2011


11.01.2011 01:26, Christopher Armstrong kirjoitti:
> 2011/1/10 Alex Grönholm <alex.gronholm at nextday.fi 
> <mailto:alex.gronholm at nextday.fi>>
>
>     There has been some discussion over email between myself and several
>     Twisted developers regarding the possibility of adding support for PEP
>     3148 futures and executors to Twisted. I'm starting this thread to
>     move
>     the conversation to this mailing list to gain a broader audience.
>
>     For those who do not know what PEP 3148 is about, suffice to say that
>     it's an API for deferred execution of code.
>
>
>
> I just want to make clear up-front the subtle point that Twisted's 
> Deferreds are not tools for "deferred execution of code", but rather 
> for "deferred receipt of results". It's easy to forget this and 
> believe that the similar jargon implies similarity in purpose.
I never wanted to imply that -- I apologize if I left the wrong 
impression. PEP 3148 Futures have the exact same high level purpose as 
Deferreds in that they are essentially receipts for results. Like 
Deferreds, they are not tied to any particular executor.
>
>
> -- 
> Christopher Armstrong
> http://radix.twistedmatrix.com/
> http://planet-if.com/
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20110111/2d64636b/attachment.html>


More information about the Twisted-Python mailing list