changeset: 83032:e0f66c924544 parent: 83030:8c15e57830dd parent: 83031:74d9a9507019 user: Terry Jan Reedy date: Sat Mar 30 18:39:14 2013 -0400 files: Lib/idlelib/NEWS.txt Lib/idlelib/PyShell.py description: Merge from 3.3: Issue #17390 diff -r 8c15e57830dd -r e0f66c924544 Lib/idlelib/NEWS.txt --- a/Lib/idlelib/NEWS.txt Sat Mar 30 17:22:30 2013 -0400 +++ b/Lib/idlelib/NEWS.txt Sat Mar 30 18:39:14 2013 -0400 @@ -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 -r 8c15e57830dd -r e0f66c924544 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Sat Mar 30 17:22:30 2013 -0400 +++ b/Lib/idlelib/PyShell.py Sat Mar 30 18:39:14 2013 -0400 @@ -16,6 +16,7 @@ import linecache from code import InteractiveInterpreter +from platform import python_version try: from tkinter import * @@ -799,7 +800,7 @@ class PyShell(OutputWindow): - shell_title = "Python Shell" + shell_title = "Python " + python_version() + " Shell" # Override classes ColorDelegator = ModifiedColorDelegator