Re: [IronPython] sys.argv in the interactive console

2007-11-01 Thread Dino Viehland
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
[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


[IronPython] sys.argv in the interactive console

2007-10-31 Thread Sanghyeon Seo
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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com