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

Charles R Harris charlesr.harris at gmail.com
Sun Feb 21 20:48:32 EST 2010


On Sun, Feb 21, 2010 at 11:34 AM, Pauli Virtanen <pav at 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.
>
>
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.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100221/a584a716/attachment.html>


More information about the NumPy-Discussion mailing list