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 Issue #23046: Expose the BaseEventLoop class in the asyncio namespace 2015-01-06 01:03:58 +01:00
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 asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
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 In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters. 2016-08-23 09:39:03 -07:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 2017-04-25 10:57:18 +09:00
protocols.py asyncio doc: document Protocol state machine 2015-01-29 13:33:15 +01:00
queues.py Misc asyncio improvements from upstream 2016-09-30 08:17:15 -07:00
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