[Numpy-discussion] datetime uses API deprecated in python3.1

Charles R Harris charlesr.harris@gmail....
Sun Feb 21 12:37:05 CST 2010


On Sun, Feb 21, 2010 at 11:34 AM, Pauli Virtanen <pav@iki.fi> wrote:

> su, 2010-02-21 kello 20:17 +0200, Pauli Virtanen kirjoitti:
> [clip]
> > The Capsule API seems pretty much the same as the CObject API. (Why the
> > name change?) We can probably #define PyCapsule_* compatibility defines
> > in npy_3kcompat.h that use PyCObject on 2.x, and use the real thing on
> > 3.x.
>
> Btw, I read that PyCObjects are completely gone on Python 3.2, so
> apparently we *have* to make this transition.
>
>
I haven't looked closely at the new API. If you think the fix is as easy as
some defines, go for it.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100221/7b1f38ed/attachment.html 


More information about the NumPy-Discussion mailing list