[Python-3000] PEP Parade
talin at acm.org
Wed May 2 04:50:11 CEST 2007
Guido van Rossum wrote:
> S 3125 Remove Backslash Continuation Jewett
> Sounds reasonable. I think we should still support \ inside string
> literals though; the PEP isn't clear on this. I hope this falls within
> the scope of the refactoring tool (sandbox/2to3).
I'm a strong -1 on this one BTW. I really dislike the idea of having to
add spurious parentheses or other grouping operators in order to force
line continuation. It requires the Python programmer to replace an ugly
lexical-level hack into an ugly and cluttered parsing-level hack.
Readability suffers as a consequence. In general, parens or grouping
operators should only be used when they *mean* something, not merely as
a hint to the parser as to how to parse something.
More information about the Python-3000