[Ironpython-users] Understanding CPython and IronPython linkage
slide.o.mix at gmail.com
Wed Feb 22 23:09:58 CET 2012
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.
On Wed, Feb 22, 2012 at 3:06 PM, Lucas Vickers <lucasvickers at gmail.com>wrote:
> Got it. Makes more sense.
> Sounds like I'll be pickling objects back and forth between cpy and ipy.
> On Feb 22, 2012, at 5:03 PM, Slide <slide.o.mix at gmail.com> wrote:
> 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:
>> 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
>> Ironpython-users mailing list
>> Ironpython-users at python.org
> Website: http://earl-of-code.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users