[Numpy-discussion] truthiness of object arrays

Alan G Isaac alan.isaac at gmail.com
Thu Nov 13 14:29:03 EST 2014

On 11/13/2014 1:32 PM, Nathaniel Smith wrote:
> I think you're being misled by buggy exception handling weirdness,
> where the ValueError raised by calling __bool__ is getting delayed,
> and then pre-empting the AttributeError that should be generated by
> the call to __nonzero__.


More information about the NumPy-Discussion mailing list