Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
markshannon merged 2 commits intopython:mainpython/cpython:mainfrom
carljm:qualcleancarljm/cpython:qualcleanCopy head branch name to clipboard
Jan 7, 2023
Merged

gh-88696: clean up dead argument to compiler_make_closure#100806
markshannon merged 2 commits intopython:mainpython/cpython:mainfrom
carljm:qualcleancarljm/cpython:qualcleanCopy head branch name to clipboard

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.

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.