changeset: 83031:74d9a9507019 branch: 3.3 parent: 83029:2698920eadcd user: Terry Jan Reedy date: Sat Mar 30 18:32:19 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 2698920eadcd -r 74d9a9507019 Lib/idlelib/NEWS.txt --- a/Lib/idlelib/NEWS.txt Sat Mar 30 17:19:38 2013 -0400 +++ b/Lib/idlelib/NEWS.txt Sat Mar 30 18:32:19 2013 -0400 @@ -1,3 +1,10 @@ +What's New in IDLE 3.3.2? +========================= + +- Issue #17390: Display Python version on Idle title bar. + Initial patch by Edmond Burnett. + + What's New in IDLE 3.3.1? ========================= diff -r 2698920eadcd -r 74d9a9507019 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Sat Mar 30 17:19:38 2013 -0400 +++ b/Lib/idlelib/PyShell.py Sat Mar 30 18:32:19 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