[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals
Rémi Lapeyre
report at bugs.python.org
Mon May 20 12:27:01 EDT 2019
Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:
Thanks @serhiy.storchaka, it's far easier to do here. I pushed the patch to the attached PR. Is there a reason the other optimisations in the Peephole optimizer are not done in the AST?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36906>
_______________________________________
More information about the Python-bugs-list
mailing list