[issue38277] Allowing conditions with assignment expressions in comprehensions without parantheses
Arne Recknagel
report at bugs.python.org
Wed Sep 25 17:58:30 EDT 2019
Arne Recknagel <arne.recknagel at hotmail.com> added the comment:
Nothing in particular, only that I expected it to follow the same rules as regular if-blocks. It would be nice to have, since it'd be one less thing to keep in mind.
> There are some tricky issues in this particular bit of syntax [...]
It looks like there are good reasons to keep it this way or wait with potentially misleading docu updates. Then this issue can just serve to point out that it might be something to fix in either way, since I can see people stumbling over it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38277>
_______________________________________
More information about the Python-bugs-list
mailing list