[issue12782] Multiple context expressions do not support parentheses for continuation across lines

Pablo Galindo Salgado report at bugs.python.org
Sun Sep 30 10:52:25 EDT 2018


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Now that I think about this a bit better, this may be actually a problem as:

         with (yield something) as x:

is a more than valid use case that will be broken with the simple grammar rule :(

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue12782>
_______________________________________


More information about the Python-bugs-list mailing list