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

Charles R Harris charlesr.harris@gmail....
Mon Feb 22 15:01:12 CST 2010


On Mon, Feb 22, 2010 at 1:58 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Mon, Feb 22, 2010 at 14:53, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> >
> >
> > On Mon, Feb 22, 2010 at 1:45 PM, Pauli Virtanen <pav@iki.fi> wrote:
> >>
> >> ma, 2010-02-22 kello 13:25 -0700, Charles R Harris kirjoitti:
>
> >> > I'm not sure if using PyCapsule objects will make pickled arrays
> >> > incompatible between py2k and py3k, but so it goes.
> >>
> >> The pickled arrays are, IIRC, only backward compatible, so that Py2
> >> pickles can be opened with Py3, but not vice versa. This is because of
> >> the str versus unicode issue.
> >
> > Backward compatibility will probably break with PyCapsules in the array
> > instead of PyCObjects.
>
> 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.

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


More information about the NumPy-Discussion mailing list