<div dir="ltr"><div><div><div>Looks reasonable to me :) Comments:<br><br></div><div>create_transport "combines" a transport and a protocol. Is that process reversible? that might seem like an exotic thing (and I guess it kind of is), but I've wanted this e.g for websockets, and I guess there's a few other cases where it could be useful :)<br>
</div><div><br></div><div>eof_received on protocols seems unusual. What's the rationale?<br></div><div><br></div>I know we disagree that callbacks (of the line_received variety) are a good idea for blocking IO (I think we should have universal protocol implementations), but can we agree that they're what we want for tulip? If so, I can try to figure out a way to get them to fit together :) I'm assuming that this means you'd like protocols and transports in this PEP?<br>
<br></div>A generic comment on yield from APIs that I'm sure has been discussed in some e-mail I missed: is there an obvious way to know up front whether something needs to be yielded or yield frommed? In twisted, which is what I'm used to it's all deferreds; but here a future's yield from but sleep's yield?<br>
<br></div>Will comment more as I keep reading I'm sure :)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 8:09 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Dec 21, 2012 at 11:06 AM, Jesse Noller <<a href="mailto:jnoller@gmail.com">jnoller@gmail.com</a>> wrote:<br>
> I really do like tulip as the name. It's quite pretty.<br>
<br>
</div>I chose it because Twisted and Tornado both start with T. But those<br>
have kind of dark associations; I wanted to offset that with something<br>
lighter. (OTOH we could use a black tulip as a logo. :-)<br>
<br>
Regardless, it's not the kind of name we tend to use for the stdlib.<br>
It'll probably end up being asynclib or something...<br>
<div class="im HOEnZb"><br>
--<br>
--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>cheers<div>lvh</div>
</div>