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

Charles R Harris charlesr.harris@gmail....
Mon Feb 22 15:02:18 CST 2010


On Mon, Feb 22, 2010 at 1:57 PM, Pauli Virtanen <pav@iki.fi> wrote:

> ma, 2010-02-22 kello 13:53 -0700, Charles R Harris kirjoitti:
> [clip]
> > I'm actually using #ifdefs for the whole change, no macros in the
> > include files. It hasn't been a lot of work so far. The c_api is
> > currently exported as a PyCObject, we might want to give it a name
> > when it is a PyCapsule. The include file will need some #ifdefs too.
>
> I'd perhaps prefer a compatibility layer with either CObject or Capsule
> API, to avoid #ifdef's sprinkled everywhere in the other Numpy code. Not
> sure how doable this is, though.
>
>
There are just a few #ifdefs/file. I've done about 1/3 already.

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


More information about the NumPy-Discussion mailing list