[Ironpython-users] Understanding CPython and IronPython linkage

Slide slide.o.mix at gmail.com
Wed Feb 22 23:03:58 CET 2012

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.


On Wed, Feb 22, 2012 at 2:43 PM, Lucas Vickers <lucasvickers at gmail.com>wrote:

> Hello,
> I am OS X and I am working with a pre-compiled version of IronPython (it
> is hosted by Rhino 3d to be specific).
> I am attempting to import standard CPython libraries, such as pycurl.  I
> am confused as the FAQ states compatibility 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.
> sys.path[0:0] = [
> '/Users/lucasvickers/.virtualenvs/rhino/lib/python2.7/site-packages' ]
> import pycurl
> It claims no module pycurl.  A little more reading shows attempts to allow
> linkage between IronPython and CPython such as ironclad (
> http://code.google.com/p/ironclad/ ), but then why the claimed
> compatibility in the first place?
> Can anyone help me understand?  thanks
> Lucas
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users

Website: http://earl-of-code.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120222/0181bad8/attachment.html>

More information about the Ironpython-users mailing list