[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

Rémi Lapeyre report at bugs.python.org
Mon May 20 11:30:51 EDT 2019


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

> Perform the optimization at the AST level, not in the peepholer.

Thanks, this makes more sense.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36906>
_______________________________________


More information about the Python-bugs-list mailing list