Skip to content

gh-88696: clean up dead argument to compiler_make_closure#100806

Merged
markshannon merged 2 commits into
python:mainfrom
carljm:qualclean
Jan 7, 2023
Merged

gh-88696: clean up dead argument to compiler_make_closure#100806
markshannon merged 2 commits into
python:mainfrom
carljm:qualclean

Conversation

@carljm

@carljm carljm commented Jan 6, 2023

Copy link
Copy Markdown
Member

#26941 left some dead code in the compiler. The qualname argument to compiler_make_closure is now unused,
and several callers go to some trouble to make a new reference to it just for that call. Remove that argument and the extra caller code required to provide it.

Closes #88696

@markshannon

Copy link
Copy Markdown
Member

You also need to remove the variable declarations

@markshannon

Copy link
Copy Markdown
Member

Looks good. Thanks.

@markshannon
markshannon merged commit 7116030 into python:main Jan 7, 2023
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.

Propagate qualname from the compiler unit to code objects for finer grained profiling data

3 participants