diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-01 19:40:28 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 19:40:28 (GMT) |
| commit | 06fd745dd91c757b643f69847cf1234609968132 (patch) | |
| tree | e4852b96f5571798a5c8afabc2de29945f82b5fa /Lib/importlib/abc.py | |
| parent | fc0b1cbdfe72ba6155df33455a62c9d7042c9359 (diff) | |
| download | cpython-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
