<div dir="ltr"><div>Hi,<br></div><div><br></div><div>You can use <a href="https://github.com/MagicStack/uvloop">uvloop</a>, for example, without using asyncio:<br></div><div><br></div><div><pre><code>import uvloop
loop = uvloop.new_event_loop()
loop.run_forever()</code></pre></div><div><br></div><div>Best regards,</div><div>João Santos<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 25 May 2018 at 02:42, Ken Hilton <<a href="mailto:kenlhilton@gmail.com">kenlhilton@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><font face="monospace, monospace" color="#0000ff">On <span style="font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Tue May 22 22:08:40 (-0400), Chris Barker wrote:</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace">> <span style="white-space:pre-wrap">while asyncio is in the standard library, it is not </span><span style="white-space:pre-wrap">intended to be THE async event loop implementation</span></font>
</div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap">I'm surprised this is true - with dedicated syntax like async def/await, it's still not THE async event loop implementation? As far as I know, "async def" is a shorthand for</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"> @asyncio.coroutine</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"> def</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap">and "await" is short for "yield from".</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap">Sincerely,</span></font></div><div class="gmail_default" style="font-size:small"><font color="#0000ff" face="monospace, monospace"><span style="white-space:pre-wrap">Ken Hilton;</span></font></div>
</div>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div>