[issue5680] Command-line arguments when running in IDLE

2019-06-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can be bump this up in priority? The patch has been awaiting review for a good while. -- ___ Python tracker ___ _

[issue5680] Command-line arguments when running in IDLE

2017-06-21 Thread veganaiZe
veganaiZe added the comment: I've created a simple work-around for those who don't want to wait for the next release(s) of IDLE. It's available on SO: https://stackoverflow.com/a/44687632/5039027 -- ___ Python tracker

[issue5680] Command-line arguments when running in IDLE

2017-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running with arguments is only one requested or possible deviation from the standard F5 mode. See #19042, msg296498, for many more. I am thinking that there should be one menu entry (Custom Run, Alt-F5)? that brings up a box with alternatives, initially defa

[issue5680] Command-line arguments when running in IDLE

2017-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +louielu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue5680] Command-line arguments when running in IDLE

2017-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #28889, with a 4th patch, in favor of this one. Gabriel, you somehow never signed the PSF Contributor License Agreement. Until you do, I will assume that anything you did is covered by the other 3 patches. -- versions: +Python 3.7 -Python 2.7

[issue5680] Command-line arguments when running in IDLE

2017-06-20 Thread Louie Lu (old)
Changes by Louie Lu (old) : -- pull_requests: +2353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue5680] Command-line arguments when running in IDLE

2017-06-19 Thread veganaiZe
Changes by veganaiZe : -- nosy: +veganaiZe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue5680] Command-line arguments when running in IDLE

2016-09-09 Thread Matej Cepl
Changes by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue5680] Command-line arguments when running in IDLE

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: When file is run with command line args, it might be nice to add an additional separator line with the line entered. That way, if someone ran a series of experiments with different command lines, they would have the command line and output together as docume

[issue5680] Command-line arguments when running in IDLE

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Today on SO: https://stackoverflow.com/questions/33866724/read-data-from-file-idle. Person writing script to open a file given on command line asks 'How to test from IDLE?' He found PyCharm, but I would like to add a better answer than the workaround I gave

[issue5680] Command-line arguments when running in IDLE

2015-04-16 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue5680] Command-line arguments when running in IDLE

2015-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pending application of a patch, the following will work to only add args to sys.argv when running from an Idle editor. import sys # ... if __name__ == '__main__': if 'idlelib.PyShell' in sys.modules: sys.argv.extend(('a', '-2')) # add your argments

[issue5680] Command-line arguments when running in IDLE

2015-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's my comment from the duplicate tracker item: -- A number of IDEs support menu options to set the execution environment for programs under development and testing. In particular, it would be nice if IDLE

[issue5680] Command-line arguments when running in IDLE

2015-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #23665 in favor of this one. Raymond's take: msg238108 -- ___ Python tracker ___ ___ Python

[issue5680] Command-line arguments when running in IDLE

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have a recent idea that there should be a separate and persistent execution process for each file run. This would make it easy to persist the cmd lines args for a particular module. -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 _

[issue5680] Command-line arguments when running in IDLE

2014-03-22 Thread Saimadhav Heblikar
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 return

[issue5680] Command-line arguments when running in IDLE

2014-02-04 Thread Tal Einat
Changes by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue5680] Command-line arguments when running in IDLE

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue5680] Command-line arguments when running in IDLE

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue5680] Command-line arguments when running in IDLE

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5680] Command-line arguments when running in IDLE

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Putting tjr and tal on nosy list cos it's IDLE. Apologies if I've got it wrong. -- nosy: +BreamoreBoy, taleinat, tjreedy versions: +Python 3.2 ___ Python tracker __

[issue5680] Command-line arguments when running in IDLE

2010-02-04 Thread Gabriel Genellina
Gabriel Genellina added the comment: A different patch to solve the same issue. This one uses a standard tkSimpleDialog to prompt for the command line, and follows the directives found at the top of the source (only took 8 years to implement... not so bad :) ) XXX GvR Redesign this interface

[issue5680] Command-line arguments when running in IDLE

2009-04-26 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +gpolo priority: -> normal stage: -> patch review versions: +Python 3.1 ___ Python tracker ___ ___

[issue5680] Command-line arguments when running in IDLE

2009-04-03 Thread Matthew Barnett
New submission from Matthew Barnett : Patch idle-args.diff adds a dialog for entering command-line arguments for a script from within IDLE itself. -- components: IDLE files: idle-args.diff keywords: patch messages: 85341 nosy: mrabarnett severity: normal status: open title: Command-line