Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-118561: Fix crash involving list.extend in free-threaded build
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.
- Loading branch information