From 59e824b4fc314b10c5d24ff0bf737a15787f0574 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 1 Mar 2019 18:12:45 -0500 Subject: bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. Original patch by Kevin Walzer. (GH-12034) --- Lib/idlelib/PyShell.py | 2 +- Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index db854b6..2ea7e6b 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1560,7 +1560,7 @@ def main(): if system() == 'Windows': iconfile = os.path.join(icondir, 'idle.ico') root.wm_iconbitmap(default=iconfile) - elif TkVersion >= 8.5: + elif TkVersion >= 8.5 and sys.platform != 'darwin': ext = '.png' if TkVersion >= 8.6 else '.gif' iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext)) for size in (16, 32, 48)] diff --git a/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst b/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst new file mode 100644 index 0000000..54a5c72 --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst @@ -0,0 +1,2 @@ +Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin +Walzer. -- cgit v0.12 From 10b8873e4daa543dd52e44b9900fedcb346f7222 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 2 Mar 2019 10:17:10 -0800 Subject: Make 2.7.16 release note. --- Misc/NEWS.d/2.7.16.rst | 8 ++++++++ Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/2.7.16.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst diff --git a/Misc/NEWS.d/2.7.16.rst b/Misc/NEWS.d/2.7.16.rst new file mode 100644 index 0000000..1f55b4b --- /dev/null +++ b/Misc/NEWS.d/2.7.16.rst @@ -0,0 +1,8 @@ +.. bpo: 32129 +.. date: 2019-02-25-12-59-24 +.. nonce: 4qVCzD +.. release date: 2019-03-02 +.. section: IDLE + +Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin +Walzer. diff --git a/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst b/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst deleted file mode 100644 index 54a5c72..0000000 --- a/Misc/NEWS.d/next/IDLE/2019-02-25-12-59-24.bpo-32129.4qVCzD.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin -Walzer. -- cgit v0.12 From 413a49145e35c7a2d3a7de27c5a1828449c9b2e5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 2 Mar 2019 10:17:42 -0800 Subject: Set version to 2.7.16 final. --- Include/patchlevel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 631cac2..b12d901 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -23,11 +23,11 @@ #define PY_MAJOR_VERSION 2 #define PY_MINOR_VERSION 7 #define PY_MICRO_VERSION 16 -#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA -#define PY_RELEASE_SERIAL 1 +#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL +#define PY_RELEASE_SERIAL 0 /* Version as a string */ -#define PY_VERSION "2.7.16rc1+" +#define PY_VERSION "2.7.16" /*--end constants--*/ /* Subversion Revision number of this file (not of the repository). Empty -- cgit v0.12