]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116664: Ensure thread-safe dict access in _warnings (#116768)
authorErlend E. Aasland <erlend@python.org>
Mon, 18 Mar 2024 09:37:48 +0000 (10:37 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 09:37:48 +0000 (09:37 +0000)
commit762f489b31afe0f0589aa784bf99c752044e7f30
tree4afb247cff6df5c45c14bb3ebe7a4cad6e38b2b1
parent4e45c6c54a9457b1ca5b4cf3aa2843b7218d4414
gh-116664: Ensure thread-safe dict access in _warnings (#116768)

Replace _PyDict_GetItemWithError() with PyDict_GetItemRef().
Python/_warnings.c