On 8/18/06, Sebastian Haase <[EMAIL PROTECTED]> wrote:
<snip>
And on x86_64 linux python ints are 8 bytes.
In [15]: asarray([1])[0].itemsize
Out[15]: 8
Interesting. Looks like one needs to be careful about the builtin python types.
Chuck
<snip>
Thanks, that seems to be a handy "dictionary-like object"
Just for the record - in the meantime I found this:
>>> N.dtype(N.int32).itemsize
4
And on x86_64 linux python ints are 8 bytes.
In [15]: asarray([1])[0].itemsize
Out[15]: 8
Interesting. Looks like one needs to be careful about the builtin python types.
Chuck
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion