[Python-ideas] Implicit String Concatenation (original) (raw)

Tal Einat taleinat at gmail.com
Fri Apr 13 13🔞32 CEST 2007


Georg Brandl wrote:

I've already suggested at one time that a dedent() method be added to strings, which would make it more obvious, but what is one import...

I'm not sure this is the way to go. IMO string methods should be generic manipulations on strings, and personally I find indenting/dedenting multi-line strings doesn't fit in. For me, a stdlib function is just fine.

Ivan Vilata i Balaguer wrote:

I'd rather make it explicit by using some string prefix a la 'r' or 'u', 'i', for instance:

This could be a reasonable solution, but it has some downsides:

-1 from me. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20070413/76acbaee/attachment.html>



More information about the Python-ideas mailing list