yield_all needed in Python

Steven Bethard steven.bethard at gmail.com
Wed Mar 2 15:13:42 CET 2005

Douglas Alan wrote:
> Steven Bethard <steven.bethard at gmail.com> writes:
>>I'm guessing the * syntax is pretty unlikely to win Guido's
>>approval. There have been a number of requests[1][2][3] for syntax
>>     x, y, *rest = iterable
> Oh, it is so wrong that Guido objects to the above.  Python needs
> fully destructuring assignment!

Yeah, there are a lot of folks that like this idea, but most of us are 
willing to conceded that Guido's intuition for these kind of things is 
generally pretty good.  This would be convenient for me occasionally, 
but I certainly wouldn't need it that often...


More information about the Python-list mailing list