INADA Naoki 991adca012 bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097)
when there are no more `await` or `yield (from)` before return in coroutine,
cancel was ignored.

example:

    async def coro():
        asyncio.Task.current_task().cancel()
        return 42
    ...
    res = await coro()  # should raise CancelledError
2017-05-11 21:18:38 +09:00
..
2017-04-03 18:16:14 +02:00
2017-03-23 17:53:47 +02:00
2017-03-23 17:53:47 +02:00
2017-01-17 04:20:26 +01:00
2016-10-18 16:29:27 +02:00
2016-10-18 16:29:27 +02:00
2017-03-23 17:53:47 +02:00
2017-01-16 00:05:54 -08:00
2017-01-31 23:31:10 -08:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.