On Wed, May 9, 2018, 11:53 PM Guido van Rossum <[email protected]> wrote:
> Oh, I hadn't even though of combining the two in one statement. That > example is truly horrible (on first skim I didn't even notice it used two > different assignment operators!) and strengthens my confidence that we > should just disallow an un-parenthesized `:=` operator at the top level, > where now the top level includes the RHS of a classic assignment. > IMO, I would strongly prefer calling an unparenthesized top-level ':=' a SyntaxError. >
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
