]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Jan 2022 06:48:21 +0000 (22:48 -0800)
committerGitHub <noreply@github.com>
Mon, 3 Jan 2022 06:48:21 +0000 (22:48 -0800)
commit50da397be4f71e5c12759281446b06ce14b6a5c4
tree9d0130df917cde3b51a1af5445f136249b734d51
parentb28b0222e360669463ffe31d27c1fd374361cb23
bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348)

This change solves two problems encountered by users of the macOS Python Launcher app on recent macOS releases (10.14+):

- The launcher app was no longer able to launch the macOS Terminal.app to run a script.

- Even if Terminal.app was already launched, the launcher app was unable to send an Apple Event to Terminal.app to open and run Python with the desired .py file.
(cherry picked from commit 549e62827262264cda30455e10e315602129da72)

Co-authored-by: Ned Deily <nad@python.org>
Mac/PythonLauncher/Info.plist.in
Mac/PythonLauncher/doscript.m
Misc/NEWS.d/next/macOS/2022-01-02-21-56-53.bpo-40477.W3nnM6.rst [new file with mode: 0644]