[Python-checkins] bpo-44828: macOS installer: avoid leaving a zombie Save panel in Tk 8.6.12rc1 (GH-29367)
ned-deily
webhook-mailer at python.org
Tue Nov 2 17:01:41 EDT 2021
https://github.com/python/cpython/commit/4a8b4051734fd2ce46e15e6369811132ac3a5697
commit: 4a8b4051734fd2ce46e15e6369811132ac3a5697
branch: main
author: Ned Deily <nad at python.org>
committer: ned-deily <nad at python.org>
date: 2021-11-02T17:01:37-04:00
summary:
bpo-44828: macOS installer: avoid leaving a zombie Save panel in Tk 8.6.12rc1 (GH-29367)
files:
A Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch
M Mac/BuildScript/build-installer.py
diff --git a/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch
new file mode 100644
index 0000000000000..e70e2c35dc113
--- /dev/null
+++ b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey-8612rc1.patch
@@ -0,0 +1,10 @@
+--- tk8.6.12/macosx/tkMacOSXDialog.c 2021-10-29 17:08:23.000000000 +0000
++++ tk8.6.12-patched/macosx/tkMacOSXDialog.c 2021-11-02 19:04:59.000000000 +0000
+@@ -379,6 +379,7 @@
+ [NSApp tkFilePanelDidEnd:panel
+ returnCode:modalReturnCode
+ contextInfo:callbackInfo ];
++ [parent endSheet:panel];
+ }
+ } else {
+ modalReturnCode = [panel runModal];
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 9db2616bc75ba..1f6fcafc6f92c 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -269,7 +269,7 @@ def library_recipes():
tcl_checksum='82fd1637c0f7d4b76cb909f8abc373ec'
tk_checksum='d63c3b91b86cd8b6fa54e83ef2c5153e'
- tk_patches = [ ]
+ tk_patches = ['bpo-44828-filedialog-crash-monterey-8612rc1.patch']
result.extend([
More information about the Python-checkins
mailing list