[issue5680] Command-line arguments when running in IDLE

Saimadhav Heblikar report at bugs.python.org
Sat Mar 22 16:59:08 CET 2014


Saimadhav Heblikar added the comment:

Submitting a patch for 3.4.

1. Allows the user to set command line arguments via a dialog box
2. Parsing - Maps the string which user entered into a list i.e. the same results are produced as when run via terminal/command prompt. The parsing methods returns a list, which is similar to the sys.argv, when you run script from command line.
3. Adds tests for the parsing method
4. Extends mock_idle for point 3

I am on Debian and don't have access to a windows machine. please try to run the tests on windows machine and see if its OK.(cmd handles arguments rather differently.)

Also, should we persist the command line argument that user entered across sessions?

----------
nosy: +sahutd
Added file: http://bugs.python.org/file34568/cmd-arg.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5680>
_______________________________________


More information about the Python-bugs-list mailing list