[Python-checkins] bpo-41775: Make 'IDLE Shell' the shell title (#22399)

Terry Jan Reedy webhook-mailer at python.org
Thu Sep 24 15:30:32 EDT 2020


https://github.com/python/cpython/commit/05cc881cbcf5d73a312568c78c7149eae3195072
commit: 05cc881cbcf5d73a312568c78c7149eae3195072
branch: master
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: GitHub <noreply at github.com>
date: 2020-09-24T15:30:09-04:00
summary:

bpo-41775: Make 'IDLE Shell' the shell title  (#22399)

'Python Shell' may have contributed to some beginners confusing 'IDLE' with ' Python'.

files:
A Misc/NEWS.d/next/IDLE/2020-09-24-14-31-16.bpo-41775.sB8Vre.rst
M Lib/idlelib/NEWS.txt
M Lib/idlelib/pyshell.py

diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 38b98644942f9..754034200a1f6 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -3,6 +3,8 @@ Released on 2021-10-04?
 ======================================
 
 
+bpo-41775: Make 'IDLE Shell' the shell title.
+
 bpo-35764: Rewrite the Calltips doc section.
 
 bpo-40181: In calltips, stop reminding that '/' marks the end of
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index 66ae0f7435dab..b69916dbe876c 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -833,7 +833,7 @@ def display_executing_dialog(self):
 
 class PyShell(OutputWindow):
 
-    shell_title = "Python " + python_version() + " Shell"
+    shell_title = "IDLE Shell " + python_version()
 
     # Override classes
     ColorDelegator = ModifiedColorDelegator
diff --git a/Misc/NEWS.d/next/IDLE/2020-09-24-14-31-16.bpo-41775.sB8Vre.rst b/Misc/NEWS.d/next/IDLE/2020-09-24-14-31-16.bpo-41775.sB8Vre.rst
new file mode 100644
index 0000000000000..59605fa40235f
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2020-09-24-14-31-16.bpo-41775.sB8Vre.rst
@@ -0,0 +1 @@
+Use 'IDLE Shell' as shell title



More information about the Python-checkins mailing list