changeset: 83033:225022955c65 branch: 2.7 parent: 83028:f3032825f637 user: Terry Jan Reedy date: Sat Mar 30 18:50:43 2013 -0400 files: Lib/idlelib/NEWS.txt Lib/idlelib/PyShell.py description: Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. diff -r f3032825f637 -r 225022955c65 Lib/idlelib/NEWS.txt --- a/Lib/idlelib/NEWS.txt Sat Mar 30 15:31:31 2013 -0400 +++ b/Lib/idlelib/NEWS.txt Sat Mar 30 18:50:43 2013 -0400 @@ -1,3 +1,10 @@ +What's New in IDLE 2.7.5? +========================= + +- Issue #17390: Display Python version on Idle title bar. + Initial patch by Edmond Burnett. + + What's New in IDLE 2.7.4? ========================= diff -r f3032825f637 -r 225022955c65 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Sat Mar 30 15:31:31 2013 -0400 +++ b/Lib/idlelib/PyShell.py Sat Mar 30 18:50:43 2013 -0400 @@ -15,6 +15,7 @@ import linecache from code import InteractiveInterpreter +from platform import python_version try: from Tkinter import * @@ -821,7 +822,7 @@ class PyShell(OutputWindow): - shell_title = "Python Shell" + shell_title = "Python " + python_version() + " Shell" # Override classes ColorDelegator = ModifiedColorDelegator