]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112075: _Py_dict_lookup needs to lock shared keys (#117528)
authorDino Viehland <dinoviehland@meta.com>
Thu, 25 Apr 2024 22:34:05 +0000 (15:34 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 22:34:05 +0000 (15:34 -0700)
commitd5df25268b037c2f1f4a1184fad5274d0e72f8d6
tree8318d03c7c619bad36079f40cb082cb6ff9c5a62
parentc379de224cea2458b15c03cfeffc5506419a62eb
gh-112075: _Py_dict_lookup needs to lock shared keys (#117528)

Lock shared keys in `Py_dict_lookup` and use thread-safe lookup in `insertdict`

Co-authored-by: Sam Gross <colesbury@gmail.com>
Objects/dictobject.c