Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lib/idlelib/CREDITS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Major contributors since 2005:
- 2014: Saimadhav Heblikar
- 2015: Mark Roseman
- 2017: Louie Lu, Cheryl Sabella, and Serhiy Storchaka
- 2025: Stan Ulbrych

For additional details refer to NEWS.txt and Changelog.

Expand Down
5 changes: 4 additions & 1 deletion Lib/idlelib/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,10 @@ def saved_change_hook(self):
# that doesn't match platform conventions.
title = short + " - " + long + _py_version
elif short:
title = short
if short == "IDLE Shell":
title = short + _py_version
else:
title = short
elif long:
title = long
else:
Expand Down
3 changes: 1 addition & 2 deletions Lib/idlelib/pyshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import linecache
import os
import os.path
from platform import python_version
import re
import socket
import subprocess
Expand Down Expand Up @@ -841,7 +840,7 @@ def display_executing_dialog(self):
class PyShell(OutputWindow):
from idlelib.squeezer import Squeezer

shell_title = "IDLE Shell " + python_version()
shell_title = "IDLE Shell"

# Override classes
ColorDelegator = ModifiedColorDelegator
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deduplicate version number in IDLE shell title bar after saving to a file.
Loading