On 15/03/2008, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Thomas Wouters suggests some new syntax: > > http://bugs.python.org/issue2292 [...] > What do people think?
I like it. It's on the border of being too obscure (the examples are logical, but I need to think to apply the logic - if you see what I mean), but overall I think it's a reasonable generalisation. As Brett says, the yield example is compelling. I like "yield *it" much better than the current somewhat clumsy idiom "for val in it: yield val". Paul. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com