Range Operation pre-PEP

Douglas Alan nessus at mit.edu
Fri May 11 04:39:32 EDT 2001


"Fredrik Lundh" <fredrik at pythonware.com> writes:

> Rainer Deyke wrote:

> > And what a ridiculous claim that was.

> you're attacking douglas's misrepresentation of ben's original claim
> with an argument that has nothing whatsoever to do with what ben was
> talking about.  that's pretty ridiculous too, if you're asking me.

In what way did I misrepresent Ben's original claim?  I did not.

>> The contents of 'args' are almost certainly homogeneous.

> erm.  since when are the arguments to a function almost certainly
> homogenous?

Excess arguments are typically (but not always) homogenous.

> ben's right.  tuples are records, lists are containers.  anyone who
> has written (or studied) real-life python programs knows that.

That's quite the claim.  Are you saying that my Python programs are
not "real-life" Python programs?

I refer you to the Python reference manual which says quite plainly
that a tuple is an immutable sequence of arbitrary Python objects.  It
says nothing about them being "records" or not suitable as
"containers".

|>oug



More information about the Python-list mailing list