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

Charles R Harris charlesr.harris@gmail....
Thu Feb 11 23:17:23 CST 2010


On Thu, Feb 11, 2010 at 10:03 PM, David Cournapeau <david@silveregg.co.jp>wrote:

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

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100211/4eb88392/attachment.html 


More information about the NumPy-Discussion mailing list