![](https://secure.gravatar.com/avatar/214c694acb154321379cbc58dc91528c.jpg?s=120&d=mm&r=g)
On 25 Apr 2016, at 09:38, Ram Rachum <ram@rachum.com> wrote:
Hi,
I have a problem: I've got code that has a `with` statement with multiple long names, so I have to break the line awkwardly using the \ character:
Ram, This request has come up a couple of times before. See the following prior discussions: - https://mail.python.org/pipermail/python-ideas/2010-September/008021.html <https://mail.python.org/pipermail/python-ideas/2010-September/008021.html> - https://mail.python.org/pipermail/python-dev/2014-August/135741.html <https://mail.python.org/pipermail/python-dev/2014-August/135741.html> The upshot is: the restriction on context managers with parentheses like this is relatively likely to stick around. There have been discussions about the relative ambiguity of the syntax you’re using here compared with the syntax of tuples, and some suggestions that it’ll make life particularly tricky for the parser. I don’t have anything to add to those discussions, just wanted to suggest you may want to familiarise yourself with the previous times we had this conversation before continuing it. Cory