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

2007-07-29 Thread Dino Viehland
AM To: Discussion of IronPython Subject: [IronPython] [Bug] import System enables .NET methods 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 intera

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

2007-07-28 Thread Luis M. Gonzalez
Hi there, This is strange, but this one is weird: >>> 'hello world'.Upper() 'HELLO WORLD' Luis - Original Message - From: "Michael Foord" <[EMAIL PROTECTED]> To: "Discussion of IronPython" Sent: Saturday, July 28, 2007 10:06 AM

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

2007-07-28 Thread Michael Foord
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, Mich