[Numpy-discussion] isbuiltin - failure of understanding

Matthew Brett matthew.brett@gmail....
Tue Feb 24 17:08:31 CST 2009


> 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!


More information about the Numpy-discussion mailing list