Hi, 2014-11-05 18:17 GMT+01:00 Paul Sokolovsky <[email protected]>: > I'm author of alternative implementation of asyncio subset for > MicroPython,
Oh, interesting. Where can I find your project? Is it fully compatible with asyncio? > my surprise, founds that > there's now BaseEventLoop.create_task(coro) method > (https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.BaseEventLoop.create_task) > to schedule them in obvious and direct method directly against an > event loop. > Thank you very much for this addition! (...) FYI I added this method for the greenio project, to support other implementation of event loops. I would like to replace all direct calls to Task with create_task, but I had some issues in the documentation. For Python 3.4 documentation, Task constructor may be preferred because create_task is only available since Python 3.4.2 :-/ Victor
