[mypyc] Don't borrow list items on free-threaded builds (#21679)
Borrowing list items is unsafe on free-threaded builds, since another thread could be concurrently mutating the list. Also make it possible to have different expected test case outputs on free-threaded and GIL-enabled builds. Work on mypyc/mypyc#1202.
J
Jukka Lehtosalo committed
ee076569870fc9a281551c7f7f1e4ab8b00e33b7
Parent: 1cc7e8f
Committed by GitHub <noreply@github.com>
on 7/6/2026, 1:38:48 PM