Thanks for the report Seo, I'll fix this for the next release.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Wednesday, October 31, 2007 9:26 PM
To: Discussion of IronPython
Subject: [IronPython] sys.argv in the interactive console

Using the interactive console,

$ python
>>> import sys
>>> sys.argv
['']

$ ipy # Both 1.1 and 2.0a5
>>> import sys
>>> sys.argv
[]

Believe it or not, some code depends on sys.argv[0] to be always available.

--
Seo Sanghyeon
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to