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

gh-102371: move _Py_Mangle from compile.c to symtable.c #102372

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Mar 2, 2023

Fixes #102371.

Also moves the declaration of _PyFuture_FromAST (which is defined in future.c) from pycore_compile.h to pycore_symtable.h so that symtable.c no longer needs to include pycore_compile.h.

Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One less cyclic dependency 🙂

@iritkatriel iritkatriel merged commit 71db5db into python:main Mar 2, 2023
@iritkatriel iritkatriel deleted the mangle branch April 3, 2023 17:44
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.

Move _Py_Mangle from compile.c to symtable.c
3 participants