[Python-ideas] Default values in multi-target assignment

Serhiy Storchaka storchaka at gmail.com
Thu Apr 12 12:00:45 EDT 2018


12.04.18 18:12, Guido van Rossum пише:
> I hear where you're coming from but I really don't think we should do 
> this. If you don't have the right expectation already it's hard to guess 
> what it means. I would much rather spend effort on a proper matching 
> statement.

There are few applications of this syntax, and it is not totally new, it 
is originated from the syntax of function parameters. But I agree with 
you. I prefer to keep the syntax of Python simpler.



More information about the Python-ideas mailing list