Skip to content
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

Move _Py_Mangle from compile.c to symtable.c #102371

Closed
iritkatriel opened this issue Mar 2, 2023 · 0 comments · Fixed by #102372
Closed

Move _Py_Mangle from compile.c to symtable.c #102371

iritkatriel opened this issue Mar 2, 2023 · 0 comments · Fixed by #102372
Labels
3.12 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news

Comments

@iritkatriel
Copy link
Member

iritkatriel commented Mar 2, 2023

_Py_Mangle doesn't need to be in compile.c (which is > 10K lines and needs to be reduced).

Moving it to symtable.c will
(1) remove one reason for symtable.c to depend on compile.c
(2) make typeobject.c depend on the much smaller symtable.c instead of on compile.c
(3) make compile.c a little smaller.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant