[IronPython] clr.CompileModules fails on some python standard lib modules
Hernan M Foffani
hfoffani at gmail.com
Wed Jun 2 11:07:29 CEST 2010
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
We are using IronPython 2.6.1 for .NET 2.0.
More information about the Ironpython-users