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" <[email protected]>
Sent: Saturday, July 28, 2007 10:06 AM
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 interactive session or run as a program) in IronPython 1.1.
> 
> import System
> print 'hello'.ToUpper()
> 
> 
> All the best,
> 
> Michael Foord
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to