<html><head></head><body bgcolor="#FFFFFF"><div>Lol now you're scaring me ;)</div><div><br></div><div>Rhino3d uses IronPython to let us control low level .net Rhino APIs using python. Super cool. But what about pickle do u need to watch out for?</div><div><br></div><div>Due to the Rhino infrastructure it seems difficult to impossible to really debug an IronPython script hosted within rhino, so tracing low level bugs will be a nightmare.&nbsp;<br><br>On Feb 22, 2012, at 5:09 PM, Slide &lt;<a href="mailto:slide.o.mix@gmail.com">slide.o.mix@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Be careful with that too :-) IronPython is obviously still a work in progress and we're trying hard to implement features and become more CPython compatible; we've still got a lot of work to do, but you can do some really cool stuff with IronPython.<div>
<br></div><div><br></div><div>slide<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 3:06 PM, Lucas Vickers <span dir="ltr">&lt;<a href="mailto:lucasvickers@gmail.com">lucasvickers@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 bgcolor="#FFFFFF"><div>Got it. Makes more sense.&nbsp;</div><div><br></div><div>Sounds like I'll be pickling objects back and forth between cpy and ipy.&nbsp;</div>
<div><br></div><div>Thanks&nbsp;<div><div class="h5"><br><br>On Feb 22, 2012, at 5:03 PM, Slide &lt;<a href="mailto:slide.o.mix@gmail.com" target="_blank">slide.o.mix@gmail.com</a>&gt; wrote:<br><br></div></div></div><div><div class="h5">
<div></div><blockquote type="cite"><div>If the module is a C based module, it will not import into IronPython. The compatibility is in most of the standard library, pycurl is not part of the standard library. There are even issues in parts of the standard library as you can see if you look at the bug tracker on CodePlex.<div>

<br></div><div>slide<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 2:43 PM, Lucas Vickers <span dir="ltr">&lt;<a href="mailto:lucasvickers@gmail.com" target="_blank">lucasvickers@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">
<span style="font-size:13px;font-family:arial,sans-serif">Hello,</span><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">

I am OS X and I am working with a pre-compiled version of IronPython (it is hosted by Rhino 3d to be specific).</div><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">



I am attempting to import standard CPython libraries, such as pycurl. &nbsp;I am confused as the FAQ states&nbsp;compatibility&nbsp;between IronPython 2.7 and CPython 2.7, but using the following code which works on CPython 2.7.2 fails on IronPython 2.7.0.</div>



<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif"><div>sys.path[0:0] = [ '/Users/lucasvickers/.virtualenvs/rhino/lib/python2.7/site-packages' ]</div>



<div>import pycurl</div></div><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">

It claims no module pycurl. &nbsp;A little more reading shows attempts to allow linkage between IronPython and CPython such as ironclad (<a href="http://code.google.com/p/ironclad/" style="color:rgb(0,0,204)" target="_blank">http://code.google.com/p/ironclad/</a>&nbsp;), but then why the claimed compatibility in the first place?</div>



<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">Can anyone help me understand? &nbsp;thanks</div><span><font color="#888888">

<div style="font-size:13px;font-family:arial,sans-serif"><br></div><font color="#888888" style="font-size:13px;font-family:arial,sans-serif"><div>Lucas</div>

</font>
</font></span><br>_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org" target="_blank">Ironpython-users@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">http://mail.python.org/mailman/listinfo/ironpython-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Website:&nbsp;<a href="http://earl-of-code.com" target="_blank">http://earl-of-code.com</a><br>
</div>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Website:&nbsp;<a href="http://earl-of-code.com" target="_blank">http://earl-of-code.com</a><br>
</div>
</div></blockquote></body></html>