[Numpy-discussion] Removing datetime support for 1.4.x series ?

Darren Dale dsdale24 at gmail.com
Fri Feb 12 00:12:29 EST 2010


On Thu, Feb 11, 2010 at 11:57 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
>
>
> On Thu, Feb 11, 2010 at 9:39 PM, Darren Dale <dsdale24 at gmail.com> wrote:
>>
>> On Thu, Feb 11, 2010 at 11:22 PM, Charles R Harris
>> <charlesr.harris at gmail.com> wrote:
>> >
>> >
>> > On Thu, Feb 11, 2010 at 8:12 PM, David Cournapeau
>> > <david at silveregg.co.jp>
>> > wrote:
>> >>
>> >> Charles R Harris wrote:
>> >> >
>> >> >
>> >> > On Thu, Feb 11, 2010 at 7:00 PM, David Cournapeau
>> >> > <david at silveregg.co.jp
>> >> > <mailto:david at silveregg.co.jp>> wrote:
>> >> >
>> >> >     josef.pktd at gmail.com <mailto:josef.pktd at gmail.com> wrote:
>> >> >
>> >> >      > scipy is relatively easy to compile, I was thinking also of
>> >> > h5py,
>> >> >      > pytables and pymc (b/c of pytables), none of them are
>> >> > importing
>> >> > with
>> >> >      > numpy 1.4.0 because of the cython issue.
>> >> >
>> >> >     As I said, all of them will have to be regenerated with cython
>> >> > 0.12.1.
>> >> >     There is no other solution,
>> >> >
>> >> >
>> >> > Wait, won't the structures be the same size? If they are then the
>> >> > cython
>> >> > check won't fail.
>> >>
>> >> Yes, but the structures are bigger (even after removing the datetime
>> >> stuff, I had the cython warning when I did some tests).
>> >>
>> >
>> > That's curious. It sounds like it isn't ABI compatible yet. Any idea of
>> > what
>> > was added? It would be helpful if the cython message gave a bit more
>> > information...
>>
>> Could it be related to __array_prepare__?
>
> Didn't __array_prepare__  go into 1.3? Did you add anything to a structure?

No, it was included in 1.4:
http://svn.scipy.org/svn/numpy/trunk/doc/release/1.4.0-notes.rst

No, I don't think so. I added __array_prepare__ to array_methods[] in this file:
http://svn.scipy.org/svn/numpy/trunk/numpy/core/src/multiarray/methods.c

Darren



More information about the NumPy-Discussion mailing list