[IronPython] IronPython 2.0 Beta 3 issue importing from System.Environment

Michael Armes miarme at microsoft.com
Wed Jul 2 22:36:23 CEST 2008


Hello,

I've recently started using Beta 3 and discovered the following issue:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\miarme>ipy
IronPython 2.0 Beta (2.0.0.3000) on .NET 2.0.50727.1434
Copyright (c) Microsoft Corporation. All rights reserved.
>>> from System.Environment import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NestedTypeTracker' object has no attribute 'get_CommandLine'
>>> from System.Environment import get_CommandLine
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: Cannot import name get_CommandLine
>>>

Is this a known or expected issue?

Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080702/9c15740f/attachment.html>


More information about the Ironpython-users mailing list