cpython/Lib/asyncio
Miss Islington (bot) 9cbe4738bc
[3.11] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-113334) (#113340)
When wrapped, `_SSLProtocolTransport._force_close(exc)` is called just like in the unwrapped scenario `_SelectorTransport._force_close(exc)` or `_ProactorBasePipeTransport._force_close(exc)` would be called, except here the exception needs to be passed through the `SSLProtocol._abort()` method, which didn't accept an exception object.

This commit ensures that this path works, in the same way that the uvloop implementation of SSLProto passes on the exception (on which the current implementation of SSLProto is based).

(cherry picked from commit 1ff0238594)

Co-authored-by: Martijn Pieters <mj@zopatista.com>
2023-12-20 16:51:51 -08:00
..
__init__.py bpo-46771: Implement asyncio context managers for handling timeouts (GH-31394) 2022-03-10 08:05:20 -08:00
__main__.py bpo-37028: asyncio REPL; activated via 'python -m asyncio'. (GH-13472) 2019-05-27 13:42:29 +02:00
base_events.py [3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711) 2023-07-29 18:07:49 +00:00
base_futures.py bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) 2022-03-17 03:03:09 +02:00
base_subprocess.py GH-100133: fix asyncio subprocess losing stderr and stdout output (GH-100154) 2022-12-21 02:24:19 -08:00
base_tasks.py bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) 2022-03-17 03:03:09 +02:00
constants.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
coroutines.py bpo-43216: Remove @asyncio.coroutine (GH-26369) 2021-07-01 15:13:59 +02:00
events.py [3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711) 2023-07-29 18:07:49 +00:00
exceptions.py bpo-43352: Add a Barrier object in asyncio lib (GH-24903) 2022-03-26 00:01:21 +02:00
format_helpers.py bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) 2018-05-28 16:27:34 -04:00
futures.py GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999) 2022-10-06 18:50:25 -07:00
locks.py gh-97545: Make Semaphore run faster. (GH-97549) 2022-09-26 17:00:53 -07: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 gh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times (GH-98704) 2022-10-26 20:04:43 -07: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 GH-95899: fix asyncio.Runner to call set_event_loop only once (GH-95900) (#96003) 2022-08-15 15:01:23 -07:00
selector_events.py [3.11] gh-103607: Fix pause_reading to work when called from connection_made in asyncio. (GH-17425) (#103918) 2023-04-27 10:29:54 +00:00
sslproto.py [3.11] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-113334) (#113340) 2023-12-20 16:51:51 -08:00
staggered.py Fix import path for asyncio.TimeoutError (#17691) 2019-12-24 12:46:42 +02:00
streams.py [3.11] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112141) 2023-11-20 15:12:17 -08:00
subprocess.py [3.11] gh-109709: Fix asyncio test_stdin_broken_pipe() (#109710) (#109735) 2023-09-22 14:34:53 +00:00
taskgroups.py [3.11] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111172) 2023-10-21 19:40:07 +00:00
tasks.py [3.11] gh-109955 : Update state transition comments for asyncio.Task (GH-109910) (#109993) 2023-09-29 15:25:34 +02:00
threads.py Trivial typo in docstring 2021-07-31 06:36:10 +02:00
timeouts.py [3.11] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111172) 2023-10-21 19:40:07 +00:00
transports.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
trsock.py bpo-43232: Remove previously deprecated methods on TransportSocket (GH-24538) 2021-06-30 09:19:09 +03:00
unix_events.py [3.11] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) (#111413) 2023-10-27 16:36:24 -07:00
windows_events.py [3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH-100959) (#101019) 2023-01-13 13:58:20 -08:00
windows_utils.py asyncio: __del__() keep reference to warnings.warn (GH-11491) 2019-01-10 11:24:40 +01:00