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

Pauli Virtanen pav@iki...
Mon Feb 22 15:06:44 CST 2010

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@gmail.com>
> wrote:
>  > 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


More information about the NumPy-Discussion mailing list