Skip to content

gh-118926: Spill deferred references to stack in cases generator#122748

Merged
colesbury merged 5 commits intopython:mainfrom
colesbury:gh-118926-flush-v2
Aug 7, 2024
Merged

gh-118926: Spill deferred references to stack in cases generator#122748
colesbury merged 5 commits intopython:mainfrom
colesbury:gh-118926-flush-v2

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Aug 6, 2024

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants