gh-106168: Check allocated instead of size index bounds in PyList_SET_ITEM() (#111480)
Check the index bound assertions in PyList_SET_ITEM() against [0:allocated] instead of [0:size] to re-allow valid use cases that assign within the allocated area.
S
scoder committed
940ee962a8a1e87543fd36338228e526e7f35067
Parent: 4a929d4
Committed by GitHub <noreply@github.com>
on 10/30/2023, 11:24:21 AM