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

Charles R Harris charlesr.harris at gmail.com
Tue Feb 23 02:03:42 EST 2010


On Mon, Feb 22, 2010 at 2:06 PM, Pauli Virtanen <pav at iki.fi> wrote:

> ma, 2010-02-22 kello 14:01 -0700, Charles R Harris kirjoitti:
> > On Mon, Feb 22, 2010 at 1:58 PM, Robert Kern <robert.kern at gmail.com>
> > wrote:
> [clip]
> >  > Why? PyCObjects don't serialize at all. They would never show up in
> > > a pickle to begin with.
> >
> > So what happens to them? I'm not that familiar with pickles
>
> arraydescr_reduce pulls out the datetime info from the metadata dict,
> and converts it to a tuple containing something pickleable. And
> everything in reverse in *_setstate
>
>
Everything works except the import of the {ufunc, multiarray} api's from the
modules. If the api's are stored as PyCObjects then all the tests pass. I'll
try to get that last bit fixed up tomorrow.

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


More information about the NumPy-Discussion mailing list