[Types-sig] tuples (was: New syntax?)
Greg Stein
gstein@lyra.org
Sat, 18 Dec 1999 13:26:16 -0800 (PST)
On Sat, 18 Dec 1999, Paul Prescod wrote:
> Greg Stein wrote:
> >
> > Bite me. :-)
> >
> > You do raise a good point in another post, however:
> >
> > def foo(*args: (Int)):
>
> Python should not use tuples as "read-only lists." From a type-system
> point of view, a tuple should be a fixed-length, fixed-type data
> structure defined at compile time.
Ideal or not, this is the current situation. *args is a tuple.
Are you suggesting a particular change here? If so, then add it to your
issues list :-) [you are maintaining one, right? :-)]
Cheers,
-g
--
Greg Stein, http://www.lyra.org/