[Numpy-discussion] datetime uses API deprecated in python3.1
Charles R Harris
Mon Feb 22 15:02:18 CST 2010
On Mon, Feb 22, 2010 at 1:57 PM, Pauli Virtanen <email@example.com> wrote:
> ma, 2010-02-22 kello 13:53 -0700, Charles R Harris kirjoitti:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion