Message312564
| 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)... |
|