summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-09-24 22:01:45 (GMT)
committerGitHub <noreply@github.com>2022-09-24 22:01:45 (GMT)
commita7a7da4acfb0cb33b7d67eea695f2612f38f477f (patch)
treefc5b6666dd2b7a529a9ae55dfbc70f56a35b12ef /Include
parent2a50772b63d7bc4ef97d16e9bcc53455c301b0ea (diff)
downloadcpython-a7a7da4acfb0cb33b7d67eea695f2612f38f477f.zip
cpython-a7a7da4acfb0cb33b7d67eea695f2612f38f477f.tar.gz
cpython-a7a7da4acfb0cb33b7d67eea695f2612f38f477f.tar.bz2
gh-97527: IDLE: protect macosx Tk() call when no GUI (GH-97530)
Only call tkinter.tk and its follow-up code in _init_tk_type when requires('gui') does not raise. This function can be called as an unintended side-effect of calling other idlelib code as part of tests on macOS without a GUI enabled. (cherry picked from commit 9704f8da333a51da32318f16106d45abb20fab76) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions