[IronPython] pyc.py error compiling decimal.py

Lukas Cenovsky cenovsky at bakalari.cz
Thu Apr 29 12:47:08 CEST 2010


Is the following error the same as in 
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26593

C:\Dos\IronPython-2.6.1>ipy.exe Tools\Scripts\pyc.py /target:dll 
Lib\decimal.py
Input Files:
        Lib\decimal.py
Output:
        decimal
Target:
        Dll
Platform:
        ILOnly
Machine:
        I386
Compiling...
Traceback (most recent call last):
  File "Tools\Scripts\pyc.py", line 159, in <module>
  File "Tools\Scripts\pyc.py", line 151, in Main
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 cnstruct this value.

--
-- Lukáš




More information about the Ironpython-users mailing list