[Python-3000] Reminder: Py3k PEPs due by April

Eoghan Murray eoghan at qatano.com
Wed Apr 11 18:42:08 CEST 2007


On 10/04/07, Raymond Hettinger <python at rcn.com> wrote:
>
> [snip]
>
> Here's that I think might not need a PEP:
>
> * Eliminate implicit string concatenation:   "abc" "def"
> in favor of an explicit + operation.  That simplifies
> the grammar just a bit and the compiler already is
> smart enough to do constant fold this operation at
> compile time.  When there are multi-line concats, I think
> the parenthesis serves us much better than a trailing \
> which is ugly and relies on having no trailing whitespace.
> Replace:
>    'hello         ' \
>    'world         '
> With:
>    ('hello        ' +
>     'world        ')
>
>
>
> Raymond
> ______________________________________________


I've started a discussion on python-ideas proposing to allow implicit
concatenation of string variables as well as string literals.
-1 for elimination!

Eoghan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070411/764822d5/attachment.html 


More information about the Python-3000 mailing list