<div dir="ltr">Not relavent to your questions, but there&#39;s a mailing list for discussing the specifics of PEP 3156, which is worth subscribing to if you want to provide specific feedback on the API.<div><br><div><a href="https://groups.google.com/forum/?fromgroups#!forum/python-tulip" target="_blank">https://groups.google.com/forum/?fromgroups#!forum/python-tulip</a></div>

<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 3:00 AM, Tim Allen <span dir="ltr">&lt;<a href="mailto:screwtape@froup.com" target="_blank">screwtape@froup.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In Guido&#39;s keynote at PyCon 2013, apparently he talked about adding an<br>
async I/O module to Python 3.4. It looks like his slides can be viewed<br>
here:<br>
<br>
    <a href="https://www.dropbox.com/s/xknbe58zcvjhzhv/PyCon2013.pptx" target="_blank">https://www.dropbox.com/s/xknbe58zcvjhzhv/PyCon2013.pptx</a><br>
<br>
...while this is the PEP he&#39;s talking about:<br>
<br>
    <a href="http://www.python.org/dev/peps/pep-3156/" target="_blank">http://www.python.org/dev/peps/pep-3156/</a><br>
<br>
At first glance, the proposed reactor API looks very much like Twisted&#39;s<br>
(or, to be fair, GTK&#39;s, or possibly any number of other async event loop<br>
I&#39;m less familiar with) but rather than Deferreds and callbacks, the API<br>
will be based around Futures (similar, but not identical, to Python<br>
3.2&#39;s concurrent.futures.Future class), and an inlineCallbacks-style<br>
decorator for generators.<br>
<br>
I know Deferreds are awesome, and I don&#39;t know much about Futures (and<br>
I know Twisted core developers have given negative reviews of<br>
other Deferred/Promise/Future implementations in, say, JavaScript<br>
libraries before), and inlineCallbacks seems to have a negative<br>
reputation among experienced Twisted users. Is there anybody on this<br>
list who knows more about this new PEP (maybe somebody who&#39;s at PyCon<br>
and saw the talk in person) who can give us an informed comparison with<br>
the current state of Twisted?<br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br></div>