On 3/14/2018 11:03 AM, Guido van Rossum 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).

I like using f-strings for this now, and adding '+' stops compile-time concatenation across literal boundaries. See my response to FB's original post.

--
Terry Jan Reedy

_______________________________________________
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