[issue35207] Disallow expressions like (a) = 42

Guido van Rossum report at bugs.python.org
Sat Nov 10 15:56:35 EST 2018


Guido van Rossum <guido at python.org> added the comment:

Hm, I was thinking of https://github.com/python/cpython/pull/9212/, but
that's about keyword arg (where the interpreter incorrectly allowed
f((kw)=expr). But on thinking about it more I believe we should allow (a) =
(b), so there is no code change required. Sorry for the false alarm.

----------

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


More information about the Python-bugs-list mailing list