https://bugzilla.novell.com/show_bug.cgi?id=334544#c3





--- Comment #3 from Christian Heimes <[EMAIL PROTECTED]>  2007-10-17 06:38:07 
MST ---
At first I'm sorry that I messed up the bug report. I accidentally pressed the
send button instead of the add attachment button.

Mono's ilasm produces a different output than .NET ilasm. This is a problem
with PythonDotNet's clr.pyd module. The import magic doesn't work. By the way a
pyd file is just an ordinary and renamed DLL file

The file is compiled with:

ilasm /nologo /dll /quiet /output=clr.pyd \
            src/runtime/clrmodule.il

The file compiled with .NET ilasm load the Python.Runtime.dll assembly and
initializes PythonDotNet. But the file generated by Mono's ilasm raises an
exception in Python:

ImportError: dynamic module does not define init function (initclr)

Christian


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to