[Python-3000] PEP Parade (original) (raw)
Talin talin at acm.org
Wed May 2 04:50:11 CEST 2007
- Previous message: [Python-3000] PEP Parade
- Next message: [Python-3000] PEP Parade
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-- Talin
- Previous message: [Python-3000] PEP Parade
- Next message: [Python-3000] PEP Parade
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]