diff options
-rw-r--r-- | Lib/idlelib/NEWS.txt | 2 | ||||
-rw-r--r-- | Lib/idlelib/editor.py | 4 | ||||
-rw-r--r-- | Misc/NEWS.d/next/IDLE/2019-01-18-01-24-23.bpo-35769.GqsB34.rst | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index a458c395dd..222f18710a 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -3,6 +3,8 @@ Released on 2019-10-20? ====================================== +bpo-35769: Change new file name from 'Untitled' to 'untitled'. + bpo-35660: Fix imports in window module. bpo-35641: Properly format calltip for function without docstring. diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index d13ac3786d..e05b52a96d 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -943,7 +943,7 @@ class EditorWindow(object): elif long: title = long else: - title = "Untitled" + title = "untitled" icon = short or long or title if not self.get_saved(): title = "*%s*" % title @@ -965,7 +965,7 @@ class EditorWindow(object): if filename: filename = os.path.basename(filename) else: - filename = "Untitled" + filename = "untitled" # return unicode string to display non-ASCII chars correctly return self._filename_to_unicode(filename) diff --git a/Misc/NEWS.d/next/IDLE/2019-01-18-01-24-23.bpo-35769.GqsB34.rst b/Misc/NEWS.d/next/IDLE/2019-01-18-01-24-23.bpo-35769.GqsB34.rst new file mode 100644 index 0000000000..79003a984a --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2019-01-18-01-24-23.bpo-35769.GqsB34.rst @@ -0,0 +1 @@ +Change IDLE's new file name from 'Untitled' to 'untitled' |