On Tue, Oct 26, 2021 at 5:35 AM Antoon Pardon <[email protected]> wrote:
> By putting limits on the walrus code, you are not reducing complexity, you
> are increasing it.
> You are increasing complexity because you can't just reuse the code that
> handles an ordinary
> assignment. You now need specific code to limit it's use.
>
What does this code do?
while x, y := foo():
...
Is it more complicated or less complicated when arbitrary assignment
targets are permitted?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list