Message246383
| Author |
martin.panter |
| Recipients |
giampaolo.rodola, gvanrossum, martin.panter, ncoghlan, pitrou, srkunze, vstinner, yselivanov |
| Date |
2015年07月06日.23:41:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1436226074.4.0.00650562036167.issue24578@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don’t think you need the __await__() call. Just do loop.run_until_complete(awaitable).
I understand "asyncio" doesn’t support recursive calls into the same event loop on purpose; see Issue 22239. So this code would only be useful from outside of the event loop, or if more than one event loop was in use. |
|