[Python-ideas] Descouraging the implicit string concatenation

Antoine Pitrou solipsis at pitrou.net
Wed Mar 14 13:41:57 EDT 2018


On Wed, 14 Mar 2018 15:03:02 +0000
Guido van Rossum <gvanrossum at gmail.com>
wrote:
> I use the feature regularly for long error messages, and when combined with
> .format() or % it's not so easy to replace it with a + (it would require
> adding parentheses).

Same here.  Implicit string concatenation together with string
formatting is quite common for me when writing error messages.

Regards

Antoine.




More information about the Python-ideas mailing list