summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 343b6e4..19bbdd6 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 da68f26..b4ba70b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -135,6 +135,8 @@ Library
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".
- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit().