diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2022-09-24 21:38:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 21:38:58 (GMT) |
commit | 9704f8da333a51da32318f16106d45abb20fab76 (patch) | |
tree | f5c0dfebfd0ce5981c4212068c8b311e793bbb03 /Python/Python-ast.c | |
parent | db39050396a104c73d0da473a2f00a62f9dfdfaa (diff) | |
download | cpython-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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions