diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-17 19:12:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 19:12:25 (GMT) |
commit | 396f8b0b98441344e1d3223a4075e5e342e0c2df (patch) | |
tree | 0d223474986d5d3054de64bfb8c36a340d1243e8 /Tools | |
parent | 0dbb86c5bebf8d85dd295840261e1c944726271c (diff) | |
download | cpython-396f8b0b98441344e1d3223a4075e5e342e0c2df.zip cpython-396f8b0b98441344e1d3223a4075e5e342e0c2df.tar.gz cpython-396f8b0b98441344e1d3223a4075e5e342e0c2df.tar.bz2 |
[3.13] gh-117657: Fix `__slots__` thread safety in free-threaded build (GH-119368) (#120655)
Fix a race in `PyMember_GetOne` and `PyMember_SetOne` for `Py_T_OBJECT_EX`.
These functions implement `__slots__` accesses for Python objects.
(cherry picked from commit 362cd2680b45a36c3467b9721ff7fc0ceb338452)
Co-authored-by: Daniele Parmeggiani <8658291+dpdani@users.noreply.github.com>
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/tsan/suppressions_free_threading.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt index b86c8fc..2986efe 100644 --- a/Tools/tsan/suppressions_free_threading.txt +++ b/Tools/tsan/suppressions_free_threading.txt @@ -29,8 +29,6 @@ race_top:_PyEval_EvalFrameDefault race_top:assign_version_tag race_top:insertdict race_top:lookup_tp_dict -race_top:PyMember_GetOne -race_top:PyMember_SetOne race_top:new_reference race_top:set_contains_key # https://gist.github.com/colesbury/d13d033f413b4ad07929d044bed86c35 |