gh-118926: Spill deferred references to stack in cases generator (#122748)
This automatically spills the results from `_PyStackRef_FromPyObjectNew` to the in-memory stack so that the deferred references are visible to the GC before we make any possibly escaping call. Co-authored-by: Ken Jin <kenjin@python.org>
S
Sam Gross committed
3e753c689a802d2e6d909cce3e22173977b2edbf
Parent: 967a4f1
Committed by GitHub <noreply@github.com>
on 8/7/2024, 5:23:53 PM