]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-106684: Close `asyncio.StreamWriter` when `asyncio.StreamWriter` is not...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 10 Aug 2023 09:24:22 +0000 (02:24 -0700)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2023 09:24:22 +0000 (11:24 +0200)
commit7853c769067699c79c0d4fe4967e9d8f8b8b0a5e
treec536a6805508bb86fef274d42f913158f02581fc
parenta71500cd2446ac460610c8d57951d02ea37b0bb6
[3.12] GH-106684:  Close `asyncio.StreamWriter` when `asyncio.StreamWriter` is not closed by application (GH-107650) (#107656)

GH-106684: raise `ResourceWarning` when `asyncio.StreamWriter` is not closed (GH-107650)
(cherry picked from commit 41178e41995992bbe417f94bce158de93f9e3188)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/asyncio/streams.py
Misc/NEWS.d/next/Library/2023-08-05-05-10-41.gh-issue-106684.P9zRXb.rst [new file with mode: 0644]