8000 duplicated code in compiler's const cache functions · Issue #121547 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

duplicated code in compiler's const cache functions #121547

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

Closed
iritkatriel opened this issue Jul 9, 2024 · 0 comments · Fixed by #121548
Closed

duplicated code in compiler's const cache functions #121547

iritkatriel opened this issue Jul 9, 2024 · 0 comments · Fixed by #121548

Comments

@iritkatriel
Copy link
Member
iritkatriel commented Jul 9, 2024

There is code duplication between _PyCompile_ConstCacheMergeOne and merge_consts_recursive - the former can be implemented in terms of the latter if we add a boolean "is-recursive" arg.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0