list index()

zzbbaadd at aol.com zzbbaadd at aol.com
Thu Aug 30 02:44:33 EDT 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