Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

CompileModules fails on platform.py #1357

Closed
hfoffani opened this issue Aug 25, 2016 · 0 comments
Closed

CompileModules fails on platform.py #1357

hfoffani opened this issue Aug 25, 2016 · 0 comments
Assignees
Labels

Comments

@hfoffani
Copy link

Version of IronPython 2.7.6.3 clr.CompileModules fails to compile platform.py

Z:>"c:\Program Files (x86)\IronPython 2.7\ipy.exe"
IronPython 2.7.6.3 (2.7.6.3) on .NET 4.0.30319.34014 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import clr
>>> basedir = 'C:\\Program Files (x86)\\IronPython 2.7\\'
>>> clr.CompileModules('xxx.dll', basedir + 'Lib\\' + 'platform.py')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: An expression of type 'System.Int32' cannot be used to initialize a
n array of type 'System.Object'

>>>

As far as I can remember it didn't happen with IronPython 2.7.6r2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants