cpython/Lib/asyncio
DPR 2ef3676a5b
[3.12] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112142)
* [3.12] gh-109538: Avoid RuntimeError when StreamWriter is deleted with closed loop (GH-111983)

Issue a ResourceWarning instead.

(cherry picked from commit e0f5127975)
gh-109538: Avoid RuntimeError when StreamWriter is deleted with closed loop (#111983)

Issue a ResourceWarning instead.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit e0f5127975)

* Fix missing warnings import
2023-11-16 09:40:55 -08:00
..
__init__.py [3.12] gh-106075: add asyncio.taskgroups.__all__ to asyncio.__all__ (GH-106090) (#106098) 2023-06-26 12:26:15 +00:00
__main__.py
base_events.py [3.12] gh-79033: Try to fix asyncio.Server.wait_closed() again (GH-111336) (#111424) 2023-10-28 18:42:53 +00:00
base_futures.py
base_subprocess.py
base_tasks.py gh-97696: asyncio eager tasks factory (#102853) 2023-05-01 15:10:13 -06:00
constants.py
coroutines.py
events.py [3.12] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106712) 2023-07-14 15:10:32 +05:30
exceptions.py
format_helpers.py
futures.py
locks.py
log.py
mixins.py
proactor_events.py
protocols.py
queues.py
runners.py
selector_events.py [3.12] gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504) (#106514) 2023-07-07 12:08:22 +00:00
sslproto.py gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed (#104474) 2023-05-14 11:58:13 -07:00
staggered.py
streams.py [3.12] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112142) 2023-11-16 09:40:55 -08:00
subprocess.py [3.12] gh-109709: Fix asyncio test_stdin_broken_pipe() (GH-109710) (#109731) 2023-10-02 17:21:51 +02:00
taskgroups.py [3.12] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111171) 2023-10-21 19:48:53 +00:00
tasks.py [3.12] gh-109955 : Update state transition comments for asyncio.Task (GH-109910) (#109992) 2023-10-02 17:41:12 +02:00
threads.py
timeouts.py [3.12] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111171) 2023-10-21 19:48:53 +00:00
transports.py
trsock.py
unix_events.py [3.12] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) (#111412) 2023-10-27 16:36:05 -07:00
windows_events.py
windows_utils.py