Commit 5e2c992
[3.14] pythongh-143880: Fix data race in
pythongh-143880: Fix data race in `functools.partial` in free threading build
The assignment to `pto->vectorcall` isn't thread-safe in the free
threading build. Note that this is already fixed in the main branch.
(cherry picked from commit 0042384)
Co-authored-by: Sam Gross <colesbury@gmail.com>functools.partial in free threading build (pythonGH-143882)1 parent a59436d commit 5e2c992
2 files changed
Lines changed: 3 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Library
- Modules
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
0 commit comments