[IronPython] [Bug] import System enables .NET methods

Michael Foord fuzzyman at voidspace.org.uk
Sat Jul 28 15:06:18 CEST 2007

Hello all,

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.

import System
print 'hello'.ToUpper()

All the best,

Michael Foord

More information about the Ironpython-users mailing list