[Numpy-discussion] datetime uses API deprecated in python3.1
Charles R Harris
Sun Feb 21 19:48:32 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.
It does look like the old interface can be emulated with the new objects,
but the need for a 'name' might cause trouble. I suppose that will depend on
how the current objects are used.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion