cpython/Lib/asyncio
Guido van Rossum 7d611b4cab
bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623)
Also from the _asyncio C accelerator module,
and adjust one test that the change caused to fail.

For more discussion see the discussion starting here:
https://github.com/python/cpython/pull/31394#issuecomment-1053545331

(Basically, @asvetlov proposed to return False from cancel()
when there is already a pending cancellation, and I went along,
even though it wasn't necessary for the task group implementation,
and @agronholm has come up with a counterexample that fails
because of this change.  So now I'm changing it back to the old
semantics (but still bumping the counter) until we can have a
proper discussion about this.)
2022-02-28 15:15:56 -08:00
..
__init__.py bpo-46752: Add TaskGroup; add Task..cancelled(),.uncancel() (GH-31270) 2022-02-15 15:42:04 -08:00
__main__.py
base_events.py Raise TypeError if SSLSocket is passed to asyncio transport-based methods (GH-31442) 2022-02-20 14:17:15 +02:00
base_futures.py
base_subprocess.py
base_tasks.py bpo-46752: Add TaskGroup; add Task..cancelled(),.uncancel() (GH-31270) 2022-02-15 15:42:04 -08:00
constants.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
coroutines.py
events.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
exceptions.py bpo-42413: Replace concurrent.futures.TimeoutError and asyncio.TimeoutError with builtin TimeoutError (GH-30197) 2021-12-19 13:22:40 +02:00
format_helpers.py
futures.py bpo-45390: Propagate CancelledError's message from cancelled task to its awaiter (GH-31383) 2022-02-21 22:59:04 +02:00
locks.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
log.py
mixins.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
proactor_events.py Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (#31512) 2022-02-23 01:39:24 +02:00
protocols.py bpo-46741: Update asyncio.protocols.BufferedProtocol docstring (31327) 2022-02-15 18:39:28 +02:00
queues.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
runners.py
selector_events.py bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499) 2022-02-22 22:35:57 +02:00
sslproto.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
staggered.py
streams.py
subprocess.py
taskgroups.py Taskgroup tweaks (GH-31559) 2022-02-26 08:18:48 -08:00
tasks.py bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623) 2022-02-28 15:15:56 -08:00
threads.py Trivial typo in docstring 2021-07-31 06:36:10 +02:00
transports.py bpo-46487: Add get_write_buffer_limits to Write and _SSLProtocol transports (GH-30958) 2022-02-01 18:05:02 +02:00
trsock.py
unix_events.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
windows_events.py bpo-46310: simplify for loop in asyncio/windows_events (GH-30334) 2022-01-11 12:51:34 +02:00
windows_utils.py