[Python-ideas] Allow parentheses to be used with "with" block

Ben Finney ben+python at benfinney.id.au
Mon Feb 16 02:21:23 CET 2015


Terry Reedy <tjreedy at udel.edu> writes:

> On 2/15/2015 4:52 PM, Neil Girdhar wrote:
> > Other statements like import and if support enclosing their
> > arguments in parentheses to force aligned continuations. Can we have
> > the same for "with"?
>
> No. Considered and rejected because it would not be trivial.

Can you give a reference to that official rejection, so it can be found
in the context of this thread?

-- 
 \        “It is the responsibility of intellectuals to tell the truth |
  `\                    and to expose lies.” —Noam Chomsky, 1967-02-23 |
_o__)                                                                  |
Ben Finney



More information about the Python-ideas mailing list