[Python-ideas] How assignment should work with generators?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 27 17:15:56 EST 2017


Guido van Rossum wrote:
> While it appears to rhyme with the use of a lone 
> '*' in function signatures, it would actually mean the opposite: in 
> signatures it means "don't allow any more".

That's the usage that's out of step with the rest -- all
the others can be seen as some form of wildcard.

So it's already confusing, and I don't think adding another
wildcard meaning would make things any worse.

-- 
Greg


More information about the Python-ideas mailing list