]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) ...
authorDPR <dpr-0xff@pm.me>
Mon, 20 Nov 2023 23:12:17 +0000 (07:12 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Nov 2023 23:12:17 +0000 (15:12 -0800)
commit13975051b5ce3cee6de841716165a78389efb58f
tree6f6ace6f0ced0804aa7e9fcac7ed964f4d1ca118
parent6c51c84b39f210668fbfacce9e49bff3e2fbe3a7
[3.11] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112141)

Issue a ResourceWarning instead.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit e0f512797596282bff63260f8102592aad37cdf1)
Lib/asyncio/streams.py
Lib/test/test_asyncio/test_streams.py
Misc/NEWS.d/next/Library/2023-11-11-16-42-48.gh-issue-109538.cMG5ux.rst [new file with mode: 0644]