Hi,
Over on the scipy list, someone pointed out an oddness in the output
of the matlab reader, which revealed this - to me - unexpected
behavior in numpy:
In [20]: dt = np.dtype('f8')
In [21]: dt.isbuiltin
Out[21]: 1
In [22]: ndt = dt.newbyteorder('')
In [23]: ndt.isbuiltin
Out[23]: 0
I was
On Thu, Jan 14, 2010 at 07:01, Matthew Brett matthew.br...@gmail.com wrote:
Hi,
Over on the scipy list, someone pointed out an oddness in the output
of the matlab reader, which revealed this - to me - unexpected
behavior in numpy:
In [20]: dt = np.dtype('f8')
In [21]: dt.isbuiltin
Hi,
It is at least undesirable. It may not be a bug per se as I don't
think that we guarantee that .isbuiltin is free from false negatives
(though we do guarantee that it is free from false positives). The
reason is that we would have to search the builtin dtypes for a match
every time we