Re: [IronPython] Interesting problems with compiling IP2 programs....

2008-08-08 Thread Srivatsn Narayanan
IronPython Subject: [IronPython] Interesting problems with compiling IP2 programs Unfortunately, now you will be 'punished' for releasing pyc.py. The following code does some funny things when compiled: print "1" import clr print "2" import os print "3" prin

[IronPython] Interesting problems with compiling IP2 programs....

2008-08-08 Thread David . Lawler
Unfortunately, now you will be 'punished' for releasing pyc.py. The following code does some funny things when compiled: print "1" import clr print "2" import os print "3" print os.getcwd() import sys print "4" print sys.version This works fine if you launch it as a script with IP2. You get: