summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-05-05 16:35:15 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-05-05 16:35:15 (GMT)
commit2faf9b086946ff0bb7740fb95da76ec4209ae34c (patch)
tree62d11ed77e5a5b70b729d56627adcfed01fabeba
parent4adb566ad78026e9eb5cec113ba7433e81c180bd (diff)
parent5b1ab247510d4f4fc566b62e8928646ebe276d49 (diff)
downloadcpython-2faf9b086946ff0bb7740fb95da76ec4209ae34c.zip
cpython-2faf9b086946ff0bb7740fb95da76ec4209ae34c.tar.gz
cpython-2faf9b086946ff0bb7740fb95da76ec4209ae34c.tar.bz2
#17798: merge with 3.3.
-rw-r--r--Lib/idlelib/EditorWindow.py2
-rw-r--r--Misc/NEWS2
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index ac5e069..52dfb3d 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -321,6 +321,8 @@ class EditorWindow(object):
per.insertfilter(color)
else:
io.set_filename(filename)
+ self.good_load = True
+
self.ResetColorizer()
self.saved_change_hook()
self.update_recent_files_list()
diff --git a/Misc/NEWS b/Misc/NEWS
index ab268c8..70e8f21 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -249,6 +249,8 @@ C-API
IDLE
----
+- Issue #17798: Allow IDLE to edit new files when specified on command line.
+
- Issue #14735: Update IDLE docs to omit "Control-z on Windows".