Hi, Pawel, IronPython has completely different inner workings than cPython. It uses .NET and the DLR infrastructure (memory management, objects, etc..) instead of the C-implemented Infrastructure provided by cPython.
Two projects tried to bridge the gap between cPython and IronPython / .NET https://code.google.com/p/ironclad/: Import cPython extensions in IronPython, this is what could match your "mapping dll" requirement.) http://pythonnet.sourceforge.net/: Allows cPython code to call into .NET code. Both projects look rather dormant nowadays. So it is not easily possible to use output compiled by cython within IronPython. The same applies to Jython and some other alternative implementations. On the other hand, IronPython and the DLR provide powerful Just-in-Time capabilities, so you may get the desired speed without actually using Cython. Best regards Markus Schaber CODESYS® a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.scha...@codesys.com<mailto:m.scha...@codesys.com> | Web: codesys.com<http://www.codesys.com> | CODESYS store: store.codesys.com<http://store.codesys.com> CODESYS forum: forum.codesys.com<http://forum.codesys.com> Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 Von: Ironpython-users [mailto:ironpython-users-bounces+m.schaber=codesys....@python.org] Im Auftrag von Pawel Jasinski Gesendet: Dienstag, 3. Juni 2014 12:30 An: ironpython-users@python.org Betreff: [Ironpython-users] cython-for-ironpython Hi, I am trying to get hello world with cython. I took a simple cnumop.cpp from tests and run: ipy cython.py --dotnet tests/compile/cnumop.pyx The resulting file (cnumop.cpp) is now part of project (cpp/clr/class library). After resolving usual reference dependencies I hit: PyErr_Format Since this is a symbol which is coming out of cpython, I am looking for equivalent in clr world. I looked in cython itself but found nothing (mapping?) Is there some sort of mapping dll (cpython symbols => iron symbols)? Or perhaps I am doing something wrong when invoking cython? Any help or information about this is greatly appreciated. --pawel
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users