On Wed, Mar 14, 2018 at 12:18 PM, Facundo Batista
<facundobati...@gmail.com> wrote:
>
> Note that there's no penalty in adding the '+' between the strings,
> those are resolved at compilation time.

The above statement is not true for versions prior to 3.7. Previously
the addition of string literals was optimized by the peephole
optimizer, with a limit of 20 characters. Do you mean to formally
discourage implicit string-literal concatenation only for 3.7+?
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to