On Jul 15, 2009, at 4:23 AM, Pauli Virtanen wrote:
> Tue, 14 Jul 2009 14:45:11 -0400, Pierre GM kirjoitti:
>> Consider the following code:
> a = np.array(zip(np.arange(3)),dtype=[('a',float)]) np.isfinite(a)
>> NotImplemented
>
> Seems like a bug. As I understand, NotImplemented is intended t
Tue, 14 Jul 2009 14:45:11 -0400, Pierre GM kirjoitti:
> Consider the following code:
> >>> a = np.array(zip(np.arange(3)),dtype=[('a',float)]) np.isfinite(a)
> NotImplemented
>
> That is, when the input is a structured array, np.isfinite returns an
> object of type NotImplementedType. I would hav
All,
Consider the following code:
>>> a = np.array(zip(np.arange(3)),dtype=[('a',float)])
>>> np.isfinite(a)
NotImplemented
That is, when the input is a structured array, np.isfinite returns an
object of type NotImplementedType. I would have expected it to raise a
NotImplementedError excepti