On 5/21/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> Since **kwds is already a dict (i.e. a mutable container) and since we
> long accept a list for *vargs on the call side, I think it is actually
> more logical to use a list for receiving *args.

I'm working on implementing this change and have a question: a number
of places in the stdlib do some processing on *args, then return the
result (currently a tuple). Changing *args to a list means that these
functions now also return lists.

My question is this: should these functions keep returning tuples or
should they (and their tests and docs) be updated to use lists? The
former introduces extra implementation complexity, while the latter
adds backwards compatibility issues.

Collin Winter
_______________________________________________
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