yield_all needed in Python

Douglas Alan nessus at mit.edu
Tue Mar 1 20:40:06 EST 2005


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
> like:

>      x, y, *rest = iterable

Oh, it is so wrong that Guido objects to the above.  Python needs
fully destructuring assignment!

|>oug



More information about the Python-list mailing list