list index()

zzbbaadd at zzbbaadd at
Thu Aug 30 08:44:33 CEST 2007

What's with the index() function of lists throwing an exception on not
found? Let's hope this is rectified in Python 3. If nothing else, add
a function that doesn't throw an exception. There are a million
situations where you can have an item not be in a list and it is not
an exception situation.

More information about the Python-list mailing list