8000 gh-88696: clean up dead argument to compiler_make_closure by carljm · Pull Request #100806 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 7, 2023

Conversation

carljm
Copy link
Member
@carljm carljm commented Jan 6, 2023

#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
Member

You also need to remove the variable declarations

@markshannon
Copy link
Member

Looks good. Thanks.

8D51
@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
0