]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112997: Don't log arguments in asyncio unless debugging (#115667)
authorPierre Ossman (ThinLinc team) <ossman@cendio.se>
Wed, 28 Feb 2024 01:39:08 +0000 (02:39 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2024 01:39:08 +0000 (17:39 -0800)
commit5a1559d9493dd298a08c4be32b52295aa3eb89e5
tree013e044debb168ed58b68e7c7d75aeec3a9ae626
parenta355f60b032306651ca27bc53bbb82eb5106ff71
gh-112997: Don't log arguments in asyncio unless debugging (#115667)

Nothing else in Python generally logs the contents of variables, so this
can be very unexpected for developers and could leak sensitive
information in to terminals and log files.
Lib/asyncio/events.py
Lib/asyncio/format_helpers.py
Lib/test/test_asyncio/test_events.py
Misc/NEWS.d/next/Library/2024-02-19-16-53-48.gh-issue-112997.sYBXRZ.rst [new file with mode: 0644]