gh-118561: Fix crash involving list.extend in free-threaded build (#118723)
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.
S
Sam Gross committed
2402715e10d00ef60fad2948d8461559d084eb36
Parent: 82abe75
Committed by GitHub <noreply@github.com>
on 5/9/2024, 6:52:27 PM