From: Charles R H. <cha...@gm...> - 2006-08-27 02:03:50
|
Hi, On 8/18/06, Sebastian Haase <ha...@ms...> wrote: <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 |