Hi Jeff,<div><br></div><div>I played with it a bit more and it does seem to be more specific that just tuples. I&#39;ll try to make a repro and submit it. Or hopefully I&#39;ll just find a silly mistake on my part. :)</div>
<div><br></div><div>Jason<br><br><div class="gmail_quote">On Thu, Nov 11, 2010 at 3:36 PM, Jeff Hardy <span dir="ltr">&lt;<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Nov 10, 2010 at 4:24 PM, Jason McCampbell<br>
&lt;<a href="mailto:jmccampbell@enthought.com">jmccampbell@enthought.com</a>&gt; wrote:<br>
&gt; Hi everyone,<br>
&gt; We are working on porting the numpy package to IronPython and I am running<br>
&gt; into an issue getting the output of cPickle to be compatible between CPython<br>
&gt; and IronPython.  The issue appears to be that PythonTuple doesn&#39;t implement<br>
&gt; __reduce__ and instead relies on .NET serialization.<br>
<br>
</div>For a quick glance, it looks like cPickle has a special case for<br>
PythonTuple instances, so PythonTuple shouldn&#39;t need a __reduce__<br>
method. It&#39;s possible that the tuple elements are not being properly<br>
pickled, but I&#39;m not familiar enough with the code to say for sure.<br>
<br>
Can you create a repro that doesn&#39;t depend on numpy and open an issue?<br>
<br>
- Jeff<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br></div>