cpython/Lib/asyncio
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
..
__init__.py
base_events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
base_futures.py Merge 3.5 (issue #28634) 2016-11-07 16:07:30 -05:00
base_subprocess.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
base_tasks.py Issue #28544: Implement asyncio.Task in C. 2016-10-28 12:52:37 -04:00
compat.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
constants.py
coroutines.py Merge 3.5 (issue #28703) 2016-11-15 15:21:07 -05:00
events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
futures.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
locks.py
log.py
proactor_events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
protocols.py
queues.py
selector_events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
sslproto.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
streams.py Issue #28370: Speedup asyncio.StreamReader.readexactly 2016-10-05 18:01:12 -04:00
subprocess.py asyncio: Fix trailing whitespace/code style 2017-03-02 23:25:31 -05:00
tasks.py bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) 2017-05-11 21:18:38 +09:00
test_utils.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
transports.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
unix_events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
windows_events.py Issue #28448: Fix C implemented asyncio.Future didn't work on Windows 2016-10-21 12:30:15 +09:00
windows_utils.py Fix small exception typos in Lib (#818) 2017-03-26 13:59:08 -07:00