Skip to content

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

@iritkatriel

Description

@iritkatriel

_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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)skip news

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions