[issue17068] peephole optimization for constant strings

Terry J. Reedy report at bugs.python.org
Sat Feb 2 11:01:37 CET 2013


Terry J. Reedy added the comment:

It would also be nice to optimize '{}{}{}'.format('https://', host, uri).
Either seems a bit much to ask from a fairly naive compiler :-).

----------
nosy: +terry.reedy
stage:  -> needs patch
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17068>
_______________________________________


More information about the Python-bugs-list mailing list