On Sun, 03 Feb 2008, dmitrey apparently wrote: > Dave has already attached the debug info: > ipdb> type(ind) > <type 'numpy.int32'> > ipdb> type(ind) not in (list, tuple) > True > ipdb> type(ind) in [int, int32, int64] > False > ipdb> int32 > <type 'numpy.int32'> Odd. What about id(type(ind)) id(int32) ? Cheers, Alan Isaac