On 5/3/07, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Steven Bethard wrote:
>
> > This brings up the question of why the patch produces lists, not
> > tuples. What's the reasoning behind that?
>
> When dealing with an iterator, you don't know the
> length in advance, so the only way to get a tuple
> would be to produce a list first and then create
> a tuple from it.

Yep.  That was one of the reasons it was suggested that the *args
should only appear at the end of the tuple unpacking.

STeVe
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to