Skip to content

gh-121404: enforce that codegen doesn't access compiler, and compiler doesn't use codegen macros #123575

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

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Sep 1, 2024

This PR moves the compiler struct definition after codegen code, and undefs the codegen macros before the compiler code. Then adjusts what's needed to make this work. Now the two pieces are (probably) separated and in another PR I can split them into two files.

@iritkatriel iritkatriel enabled auto-merge (squash) September 2, 2024 17:14
@iritkatriel iritkatriel merged commit fbb26f0 into python:main Sep 2, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants