[IronPython] Compatibility issue pickling .NET object stored in PythonTuple
jmccampbell at enthought.com
Mon Nov 15 16:13:57 CET 2010
I played with it a bit more and it does seem to be more specific that just
tuples. I'll try to make a repro and submit it. Or hopefully I'll just find
a silly mistake on my part. :)
On Thu, Nov 11, 2010 at 3:36 PM, Jeff Hardy <jdhardy at gmail.com> wrote:
> On Wed, Nov 10, 2010 at 4:24 PM, Jason McCampbell
> <jmccampbell at enthought.com> wrote:
> > Hi everyone,
> > We are working on porting the numpy package to IronPython and I am
> > into an issue getting the output of cPickle to be compatible between
> > and IronPython. The issue appears to be that PythonTuple doesn't
> > __reduce__ and instead relies on .NET serialization.
> For a quick glance, it looks like cPickle has a special case for
> PythonTuple instances, so PythonTuple shouldn't need a __reduce__
> method. It's possible that the tuple elements are not being properly
> pickled, but I'm not familiar enough with the code to say for sure.
> Can you create a repro that doesn't depend on numpy and open an issue?
> - Jeff
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users