On 5/21/06, Aahz <[EMAIL PROTECTED]> wrote: > On Sun, May 21, 2006, Collin Winter wrote: > > > > This is something I've been meaning to bring up: if we're serious > > about the "tuples = fixed-length collections, lists = unknown-length > > collections" distinction, then the CPython core should switch over to > > this mindset as well. The fact that Python 2.x uses a tuple for > > *varargs has caused me to jump through a number of hoops in my own > > typecheck package. > > This is a guideline, not a rule, and the speed and size of tuples make > them more appropriate for varargs.
Honest question: what is so special about *varargs that demands tuple's speed and size characteristics? Collin Winter _______________________________________________ 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