Author Mark.Shannon
Recipients Mark.Shannon, benjamin.peterson, georg.brandl, lukasz.langa, methane, ned.deily, rhettinger, serhiy.storchaka, vstinner
Date 2018-03-17.12:23:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I still think that option 2 would be best, but given that it is late in the release cycle, I will accept the status quo.

A couple of comments for the record:

Constant folding occurs after AST creation, so doesn't make the AST worse.

The parse tree created by lib2to3 is a concrete parse tree, not an AST. However, it might would sense (as Ɓukasz suggests) to use it as a basis for an AST designed for tooling and leave the AST generated by the C parser for bytecode generation.

Happy to close this issue now, unless anyone else has something to add.
Date User Action Args
2018-03-17 12:23:31Mark.Shannonsetrecipients: + Mark.Shannon, georg.brandl, rhettinger, vstinner, benjamin.peterson, ned.deily, methane, lukasz.langa, serhiy.storchaka
2018-03-17 12:23:31Mark.Shannonsetmessageid: <>
2018-03-17 12:23:31Mark.Shannonlinkissue32911 messages
2018-03-17 12:23:31Mark.Shannoncreate