Skip to content

GH-104584: Fix refleak when tracing through calls#110593

Merged
brandtbucher merged 3 commits intopython:mainfrom
brandtbucher:uops-refleak
Oct 10, 2023
Merged

GH-104584: Fix refleak when tracing through calls#110593
brandtbucher merged 3 commits intopython:mainfrom
brandtbucher:uops-refleak

Conversation

@brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Oct 10, 2023

This modifies _PyFunction_LookupByVersion to return a borrowed reference, which is what the caller assumes (and most internal "lookup" functions do, in general).

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

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants