[Python-ideas] Implicit string literal concatenation considered harmful?

Joao S. O. Bueno jsbueno at python.org.br
Thu May 16 21:03:53 CEST 2013


On 16 May 2013 12:57, Andrew Barnert <abarnert at yahoo.com> wrote:
> And this means the parser has to figure out whether you mean dot for attribute access or dot for concatenation. That's not exactly a _hard_ problem, but it's not _trivial_.

If you say it mis not hard for the parser, ok - but it seems
impossible for humans:

upper = " World"
print ("Hello". upper)

-


More information about the Python-ideas mailing list