[IronPython] [Bug] import System enables .NET methods
dinov at exchange.microsoft.com
Sun Jul 29 19:54:07 CEST 2007
I think this one is by design. The idea is if you import any .NET namespace you're interested in the .NET world and so .NET methods are enabled.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Saturday, July 28, 2007 6:06 AM
To: Discussion of IronPython
Subject: [IronPython] [Bug] import System enables .NET methods
My understanding was that 'import clr' in a module was supposed to
enable .NET methods.
'import System' also has the same effect. Try the following (either from
an interactive session or run as a program) in IronPython 1.1.
All the best,
Users mailing list
Users at lists.ironpython.com
More information about the Ironpython-users