tuples, index method, Python's design

Robert Kern robert.kern at gmail.com
Thu Apr 12 16:44:03 EDT 2007


Alan Isaac wrote:
> I am still puzzled by this discussion.
> 
> As I said:
> I doubt that *anyone* who programs in Python
> has not encountered the situation where they change
> a tuple to a list *solely* for the purpose of getting
> access to the index method. This suggests a missing
> method, does it not?  Who has not done this?
> Name yourself!

I'm pretty sure I've never done this either.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list