Paul Rubin wrote:
> Steve Holden <[EMAIL PROTECTED]> writes:
>> Assuming you're right, what alternative would you suggest? Would it
>> allow parenthesized expressions to retain their customary meaning?
> 
> It is kind of weird that there is even such a thing as a 1-tuple.

I agree that zero-length and singleton tuples don't make a great deal of 
sense semantically. But by now there's been enough tuple-abuse that the 
general wish is to have tuples behave exactly like lists.

Of course the singleton tuple was more or less bound to exist once the 
DB API started returning result rows as tuples, and I suspect that them 
empty tuple is an acceptable generalization.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to