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. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "I saw `cout' being shifted "Hello world" times to the left and stopped right there." --Steve Gonedes _______________________________________________ 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