Oh: "Constant folding is moved from peephole optimizer to new AST optimizer. (Contributed by Eugene Toder and INADA Naoki in bpo-29469)"
Nope, the problem was that docstrings are removed as expressions but end up as a docstring attribute on the ast node of module/function/class. I made commonast revert this.
Oh: "Constant folding is moved from peephole optimizer to new AST optimizer. (Contributed by Eugene Toder and INADA Naoki in bpo-29469)"Nope, the problem was that docstrings are removed as expressions but end up as a
docstring
attribute on the ast node of module/function/class. I made commonast revert this.