]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97527: IDLE - fix buggy macosx patch (GH-98313)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 16 Oct 2022 16:00:47 +0000 (09:00 -0700)
committerGitHub <noreply@github.com>
Sun, 16 Oct 2022 16:00:47 +0000 (09:00 -0700)
commit21fbf1631d37fd5f769fde5795c62e1f1e90842a
treed898e8c9b8b88b11d2faec78d7692f989991e665
parentb5874fae0a618e4b0815a54242b0703bd92482be
gh-97527: IDLE - fix buggy macosx patch (GH-98313)

GH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.
But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, and
Microsoft Python 3.10.2288.0 when test/* is not installed.
After this patch, test.* is only imported when testing on Mac.
(cherry picked from commit 35fa5d5e7f2b0971b39b2659dc70cb77e34a7dd6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/macosx.py
Misc/NEWS.d/next/IDLE/2022-10-15-21-20-40.gh-issue-97527.otAHJM.rst [new file with mode: 0644]