[Python-Dev] String concatenation

Nick Coghlan ncoghlan at gmail.com
Mon Aug 4 00:49:52 CEST 2008

Stavros Korokithakis wrote:
> Hmm, thanks, although I don't see why it was rejected, since it seems to 
> me that by using the addition operator or triple-quoting all the use 
> cases would become clearer and not significantly harder to write, while 
> the (often silent) errors would not happen any more.
> The PEP only mentions that "the feature to be removed isn't all that 
> harmful, and there are some use cases that would become harder", but I'm 
> not sure that the "harder use cases" (which ones?) justify the error 
> potential.

As I recall, removing implicit string concatenation simply resulted in 
too much code breakage for not enough benefit. There is also the 
minor(!) issue of breaking il8n tools that understand implicit string 
concatenation but not string addition.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list