tuples, index method, Python's design

Paul Rubin http
Sun Apr 8 10:51:36 EDT 2007


Carsten Haese <carsten at uniqsys.com> writes:
> > Maybe we can add such methods to the PyPy tuples for some time, to
> > experimentally see if they make the language worse :-)
> 
> Adding useless features always makes a product worse. What's your use
> case for tuple.index?

Do you not see the gratuituous inconsistency between tuples and lists
as a useless feature?  What is the use case for keeping it?



More information about the Python-list mailing list