◐ Shell
clean mode source ↗

gh-108113: Make it possible to create an optimized AST by iritkatriel · Pull Request #108154 · python/cpython

@iritkatriel

@iritkatriel iritkatriel commented

Aug 19, 2023

edited by github-actions Bot

Loading

…..., flags=ast.PyCF_ONLY_AST)

corona10

corona10

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>

carljm

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.

corona10

@dreamflow

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

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

@dreamflow