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

David Cournapeau david at silveregg.co.jp
Fri Feb 12 00:03:38 EST 2010


Charles R Harris wrote:
> 
> 
> On Thu, Feb 11, 2010 at 8:12 PM, David Cournapeau <david at silveregg.co.jp 
> <mailto: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>
>      > <mailto:david at silveregg.co.jp <mailto:david at silveregg.co.jp>>> wrote:
>      >
>      >     josef.pktd at gmail.com <mailto:josef.pktd at gmail.com>
>     <mailto: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.

The Cython problem was that before 0.12.1, it failed importing whenever 
the struct size changed. You can change struct size and keep ABI 
compatibility (as long as nobody includes the struct in their own code),

cheers,

David



More information about the NumPy-Discussion mailing list