[Numpy-discussion] datetime uses API deprecated in python3.1
Charles R Harris
Sun Feb 21 12:37:05 CST 2010
On Sun, Feb 21, 2010 at 11:34 AM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> su, 2010-02-21 kello 20:17 +0200, Pauli Virtanen kirjoitti:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion