diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-30 22:39:14 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-30 22:39:14 (GMT) |
commit | 42a83201a0eb99abd780f676055788ab0d28df50 (patch) | |
tree | 4979c983e9a365eb62664122024821b343846ad4 /Lib | |
parent | 5cbf3a0d6e6f35374a32a933dcca7ce3683595c6 (diff) | |
parent | 32622236d5b45fedcefa50c11afeaa5d99ff8cdc (diff) | |
download | cpython-42a83201a0eb99abd780f676055788ab0d28df50.zip cpython-42a83201a0eb99abd780f676055788ab0d28df50.tar.gz cpython-42a83201a0eb99abd780f676055788ab0d28df50.tar.bz2 |
Merge from 3.3: Issue #17390
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/NEWS.txt | 3 | ||||
-rw-r--r-- | Lib/idlelib/PyShell.py | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 21752d7..245d72d 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,6 +1,9 @@ What's New in IDLE 3.4.0? ========================= +- Issue #17390: Display Python version on Idle title bar. + Initial patch by Edmond Burnett. + - Issue #5066: Update IDLE docs. Patch by Todd Rovito. - Issue #16226: Fix IDLE Path Browser crash. diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 9ccb31c..6f50e34 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -16,6 +16,7 @@ import io import linecache from code import InteractiveInterpreter +from platform import python_version try: from tkinter import * @@ -799,7 +800,7 @@ class ModifiedInterpreter(InteractiveInterpreter): class PyShell(OutputWindow): - shell_title = "Python Shell" + shell_title = "Python " + python_version() + " Shell" # Override classes ColorDelegator = ModifiedColorDelegator |