bpo-36287: Make ast.dump() not output optional fields and attributes. by serhiy-storchaka · Pull Request #18843 · python/cpython
Values for optional fields and attributes of AST nodes are now set as class attributes (e.g. Constant.kind is set to None).
colesbury referenced this pull request in colesbury/nogil
Oct 6, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters