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

David Cournapeau david at silveregg.co.jp
Fri Feb 12 00:28:54 EST 2010


Charles R Harris wrote:
> 
> 
> On Thu, Feb 11, 2010 at 10:03 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 8:12 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:
>      >
>      >     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>>
>      >      > <mailto: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>>
>      >     <mailto: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),
> 
> 
> Sure, but I don't recall any additions to structures apart from the 
> datetime stuff and the metadata element.

At least iterator (I needed to add some members to support the 
neighborhood iterator). There may be more changes I am not aware of, but 
a quick look at git di svn/tags/1.3.0..svn/1.4.x numpy/core/include 
suggests no other big changes,

David



More information about the NumPy-Discussion mailing list