[IronPython] What happened to InitializeModule() in IP 2.7?

Ken MacDonald drken567 at gmail.com
Tue Oct 12 17:43:40 CEST 2010

I'm running the pyc.py IronPython compiler. In the GenerateExe method, there
is a call to ....GetMethod("InitializeModule"). This method was available in
IP 2.6 but seems to have disappeared in IP 2.7.

I used "GetMethods()" to confirm that in IP 2.6 we have:

Int32* InitializeModule*(System.Reflection.Assembly, System.String,

but if I run in IP 2.7, the method is non-existent. This causes the
GenerateExe method to fail, and the stub .exe file is not created.
Fortunately, the old stub module .exe still works with the new .dll created.

Anyone know if there is something else that will work, or if the method has
been renamed, or...??????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20101012/3ee3087b/attachment.html>

More information about the Ironpython-users mailing list