<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 25 Apr 2016, at 09:38, Ram Rachum <<a href="mailto:ram@rachum.com" class="">ram@rachum.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div></div></div></blockquote><br class=""></div><div>Ram,</div><div><br class=""></div><div>This request has come up a couple of times before. See the following prior discussions:</div><div><br class=""></div><div>- <a href="https://mail.python.org/pipermail/python-ideas/2010-September/008021.html" class="">https://mail.python.org/pipermail/python-ideas/2010-September/008021.html</a></div><div>- <a href="https://mail.python.org/pipermail/python-dev/2014-August/135741.html" class="">https://mail.python.org/pipermail/python-dev/2014-August/135741.html</a></div><br class=""><div class="">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.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Cory</div></body></html>