Skip to content

gh-108113: Make it possible to create an optimized AST #108154

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 10 commits into from
Aug 21, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 19, 2023

Copy link
Member

@carljm carljm left a comment

Choose a reason for hiding this comment

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

Looks like there's a docs build issue, but otherwise this LGTM.

@iritkatriel iritkatriel enabled auto-merge (squash) August 21, 2023 15:49
@dreamflow
Copy link
Contributor

should the new ast.PyCF_OPTIMIZED_AST
be mentioned in the compiler-flags doc ?

the compile() doc has a link to the compiler-flags doc ,
so that someone reading the compile() doc , can find out
that compile() has the ast.PyCF_OPTIMIZED_AST option .

@iritkatriel
Copy link
Member Author

@dreamflow Would you like to create a PR for that doc change?

@dreamflow
Copy link
Contributor

@iritkatriel yes , i'm happy to 🙂

have posted the PR #113241

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 this pull request may close these issues.

compile() with PyCF_ONLY_AST flag ignores the optimize arg
5 participants