micropython/extmod/uasyncio
Damien George b505971069 extmod/uasyncio: Fix cancellation handling of wait_for.
This commit switches the roles of the helper task from a cancellation task
to a runner task, to get the correct semantics for cancellation of
wait_for.

Some uasyncio tests are now disabled for the native emitter due to issues
with native code generation of generators and yield-from.

Fixes #5797.

Signed-off-by: Damien George <damien@micropython.org>
2020-12-02 12:31:37 +11:00
..
__init__.py extmod/uasyncio: Add asyncio.wait_for_ms function. 2020-06-10 22:29:44 +10:00
core.py extmod/uasyncio: Delay calling Loop.call_exception_handler by 1 loop. 2020-12-02 12:07:06 +11:00
event.py extmod/uasyncio: Add new implementation of uasyncio module. 2020-03-26 01:25:45 +11:00
funcs.py extmod/uasyncio: Fix cancellation handling of wait_for. 2020-12-02 12:31:37 +11:00
lock.py extmod/uasyncio: Add error message to Lock.release's RuntimeError. 2020-04-02 00:40:23 +11:00
manifest.py extmod/uasyncio: Add manifest.py for freezing uasyncio Py files. 2020-03-26 01:25:45 +11:00
stream.py extmod/uasyncio: Add StreamReader.readexactly(n) method. 2020-07-25 23:10:05 +10:00
task.py extmod/uasyncio: Add Task.done() method. 2020-12-02 12:07:06 +11:00