Re: [Numpy-discussion] fwrite() failure in PyArray_ToFile

2009-09-05 Thread David Warde-Farley
On 4-Sep-09, at 11:59 PM, Charles R Harris wrote: > The size of long depends on the compiler as well as the operating > system. On linux x86_64, IIRC, it is 64 bits, on Windows64 I believe > it is 32. Ints always seem to be 32 bits. But something funny is > definitely going on. It shouldn't

Re: [Numpy-discussion] fwrite() failure in PyArray_ToFile

2009-09-05 Thread David Cournapeau
On Sat, Sep 5, 2009 at 2:01 PM, Charles R Harris wrote: > > > On Fri, Sep 4, 2009 at 10:29 PM, Sturla Molden wrote: >> >> Charles R Harris skrev: >> > The size of long depends on the compiler as well as the operating >> > system. On linux x86_64, IIRC, it is 64 bits, on Windows64 I believe >> > it

[Numpy-discussion] object dtype questions

2009-09-05 Thread Mark Wendell
When I create an array with a dtype=object, and instance a custom python class to each array member, have I foregone any opportunity to call methods or get/set attributes on those instances with any of numpy's 'group' operations? In other words, it seems like once I've got a custom object as an arr