Guido van Rossum wrote: > Thomas Wouters suggests some new syntax: >>>>a, b, *c = range(5)
+1 on this. >>>>*a, b, c = a, b, *c +0 on allowing * in other than the last position. > ... for it in iterables: > ... yield *it +0.5 (due to consistency problems pointed out in others' comments). A thought - part of me wants to rewrite the above as yield **it i.e. each * wraps an implicit for loop around the yield. -- Greg _______________________________________________ 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