summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/abc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-07-01 19:40:28 (GMT)
committerGitHub <noreply@github.com>2024-07-01 19:40:28 (GMT)
commit06fd745dd91c757b643f69847cf1234609968132 (patch)
treee4852b96f5571798a5c8afabc2de29945f82b5fa /Lib/importlib/abc.py
parentfc0b1cbdfe72ba6155df33455a62c9d7042c9359 (diff)
downloadcpython-06fd745dd91c757b643f69847cf1234609968132.zip
cpython-06fd745dd91c757b643f69847cf1234609968132.tar.gz
cpython-06fd745dd91c757b643f69847cf1234609968132.tar.bz2
[3.13] gh-117657: Fix data races reported by TSAN in some set methods (GH-120914) (#121240)
Refactor the fast Unicode hash check into `_PyObject_HashFast` and use relaxed atomic loads in the free-threaded build. After this change, the TSAN doesn't report data races for this method. (cherry picked from commit 294e72496439da984cb8dba9100d3613c8cc8a6d) Co-authored-by: AN Long <aisk@users.noreply.github.com>
Diffstat (limited to 'Lib/importlib/abc.py')
0 files changed, 0 insertions, 0 deletions