Rafael Sachetto wrote: > No problem here too. > Using python 2.5 on Ubuntu Gutsy and the newest NumPy
Okay, I just checked with Travis and we do allow 1-element arrays to have a truth value because it is unambiguous whereas n-element arrays are ambiguous. Regardless, *in general* one cannot use list.index() to find an array. -- 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 -- http://mail.python.org/mailman/listinfo/python-list