On 10/27/2010 9:56 AM, Zachary Pincus wrote: > the structure of the python language prevents > meaningful short-circuiting in the case of > np.any(a!=b) Maybe: any((ai != bi) for ai,bi in izip(a.flat,b.flat)) ? fwiw, Alan Isaac