[IronPython] pyc.py error compiling decimal.py

Lukas Cenovsky cenovsky at bakalari.cz
Thu Apr 29 22:35:30 CEST 2010


Dino Viehland wrote:
> Lukas wrote:
>   
>> 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.
>>     
>
> Yep, the fix is checked into our main branch, we plan on quickly putting
> out a 2.6.2 which fixes this regression.  We're just giving a short amount
> of time to make sure there are no other regressions which should also be
> fixed in 2.6.2 as 2.6.1 was one of our biggest dot releases ever.

Good to hear Dino, thanks.

--
-- Lukás(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100429/8555cc12/attachment.html>


More information about the Ironpython-users mailing list