This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE: can not edit new file names when using -e
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: roger.serwy Nosy List: python-dev, roger.serwy, terry.reedy
Priority: normal Keywords: patch

Created on 2013-04-20 02:45 by roger.serwy, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
goodload.patch roger.serwy, 2013-04-20 02:45 review
Messages (3)
msg187399 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2013-04-20 02:45
This is a split from #13495 as it is truly a separate issue. Here's a partial quote from msg151278:

"""
IDLE 3 no longer allows for editing of new files from the command line. 

For example:

   idle -e /tmp/newfile.py 

will momentarily flash an editor window before it is closed. This is due to "good_load" not being set. What's worse is that the IDLE process will continue running without having any visible windows open. 
"""

Rather than remove the good_load behavior as was done in an earlier patch in #13495, I added an extra line in the initialization logic so that the editor can edit newly named files while still rejecting files that didn't load properly.
msg188447 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-05-05 16:36
New changeset c8cdc2400643 by Roger Serwy in branch '3.3':
#17798: Allow IDLE to edit new files when specified on command line.
http://hg.python.org/cpython/rev/c8cdc2400643

New changeset a64a3da996ed by Roger Serwy in branch 'default':
#17798: merge with 3.3.
http://hg.python.org/cpython/rev/a64a3da996ed
msg188448 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2013-05-05 16:38
I'm closing this issue as fixed.
History
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 61998
2013-05-05 16:38:28roger.serwysetstatus: open -> closed
resolution: fixed
messages: + msg188448

stage: patch review -> resolved
2013-05-05 16:36:32python-devsetnosy: + python-dev
messages: + msg188447
2013-04-20 02:45:14roger.serwycreate