[Numpy-discussion] isbuiltin - failure of understanding
Matthew Brett
matthew.brett at gmail.com
Tue Feb 24 18:08:31 EST 2009
Hi,
> The variable-length string dtypes are not builtin. The user-defined
> lengths make them user-defined dtypes.
Right - but I was failing to understand, from the code, how '0' rather
than '2' could result. Have I missed something?
> If you want a real kick in the pants, try playing with dtype(str). And
> then try eval'ing its repr.
I am trying to decide how to answer the first part of that sentence!
Matthew
More information about the NumPy-Discussion
mailing list