This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients Mark.Shannon, benjamin.peterson, georg.brandl, methane, rhettinger, serhiy.storchaka, vstinner
Date 2018-02-22.13:11:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519305067.12.0.467229070634.issue32911@psf.upfronthosting.co.za>
In-reply-to
Content
We implemented AST-level constant folding (#29469) based on the AST change (#29463).

I feel it's possible to revert AST change without reverting AST constant folding:

* Docstring is exposed from AST before calling AST optimizer.
* AST optimizer removes unused constant.

But I don't remember how difficult it is because since this change is made one year ago (GH-46)...
History
Date User Action Args
2018-02-22 13:11:07methanesetrecipients: + methane, georg.brandl, rhettinger, vstinner, benjamin.peterson, Mark.Shannon, serhiy.storchaka
2018-02-22 13:11:07methanesetmessageid: <1519305067.12.0.467229070634.issue32911@psf.upfronthosting.co.za>
2018-02-22 13:11:07methanelinkissue32911 messages
2018-02-22 13:11:06methanecreate