summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2022-09-24 21:38:58 (GMT)
committerGitHub <noreply@github.com>2022-09-24 21:38:58 (GMT)
commit9704f8da333a51da32318f16106d45abb20fab76 (patch)
treef5c0dfebfd0ce5981c4212068c8b311e793bbb03 /Python/pythonrun.c
parentdb39050396a104c73d0da473a2f00a62f9dfdfaa (diff)
downloadcpython-9704f8da333a51da32318f16106d45abb20fab76.zip
cpython-9704f8da333a51da32318f16106d45abb20fab76.tar.gz
cpython-9704f8da333a51da32318f16106d45abb20fab76.tar.bz2
gh-97527: IDLE: protect macosx Tk() call when no GUI (#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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions