[Python-Dev] Multiline 'with' statement line continuation (original) (raw)
Ben Finney ben+python at benfinney.id.au
Tue Aug 12 05:41:20 CEST 2014
- Previous message: [Python-Dev] Multiline 'with' statement line continuation
- Next message: [Python-Dev] Multiline with statement line continuation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ben Hoyt <benhoyt at gmail.com> writes:
So -- although I'm not arguing for it here -- you'd be turning an code (a runtime AttributeError) into valid syntax.
Exactly what I'd want to avoid, especially because it looks like a tuple. There are IMO too many pieces of code that look confusingly similar to tuples but actually mean something else.
-- \ “I have an answering machine in my car. It says, ‘I'm home now. | `\ But leave a message and I'll call when I'm out.’” —Steven Wright | o_) | Ben Finney
- Previous message: [Python-Dev] Multiline 'with' statement line continuation
- Next message: [Python-Dev] Multiline with statement line continuation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]