Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.13] pythongh-118561: Fix crash involving list.extend in free-threa…
…ded build (pythonGH-118723) (python#118863) The `list_preallocate_exact` function did not zero initialize array contents. In the free-threaded build, this could expose uninitialized memory to concurrent readers between the call to `list_preallocate_exact` and the filling of the array contents with items. (cherry picked from commit 2402715) Co-authored-by: Sam Gross <colesbury@gmail.com>
- Loading branch information