[IronPython] clr.CompileModules fails on some python standard lib modules

Lukas Cenovsky cenovsky at bakalari.cz
Wed Jun 2 11:39:34 CEST 2010

This is a known issue 
and as Dino mentioned recently it is already fixed in the main.

Which brings a question - when is IronPython 2.6.2 scheduled for release?

-- Lukáš

Hernan M Foffani wrote:
> Several standard lib modules fails to compile through the use of
> clr.CompileModules(..). Compiling modules like decimal.py, gettext.py,
> glob.py and others (nine in total) all fail with the same message:
> SystemError: CompileToMethod cannot compile constant
> 'IronPython.Runtime.Types.BuiltinFunction' because it is a non-trivial
> value, such as a live object. Instead, create an expression tree that
> can construct this value.
> Is this a known problem? Are we expecting too much trying to compile
> the standard library with clr.CompileModules() and this is not a
> supported behaviour?
> We are using IronPython 2.6.1 for .NET 2.0.
> Regards,
> -Hernán.
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

More information about the Ironpython-users mailing list