Hi Jeff, 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. :)
Jason On Thu, Nov 11, 2010 at 3:36 PM, Jeff Hardy <jdha...@gmail.com> wrote: > On Wed, Nov 10, 2010 at 4:24 PM, Jason McCampbell > <jmccampb...@enthought.com> wrote: > > Hi everyone, > > We are working on porting the numpy package to IronPython and I am > running > > into an issue getting the output of cPickle to be compatible between > CPython > > and IronPython. The issue appears to be that PythonTuple doesn't > implement > > __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@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com