11.01.2011 01:26, Christopher Armstrong kirjoitti:
2011/1/10 Alex Grönholm <alex.gronh...@nextday.fi
<mailto:alex.gronh...@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@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python