diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-01-28 16:13:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 18:13:22 -0500 |
commit | 23a567c11ca36eedde0e119443c85cc16075deaf (patch) | |
tree | e0081288c0a71ed629d729107a820d1d7a0349bc /Lib/idlelib/codecontext.py | |
parent | 64fc105b2d2faaeadd1026d2417b83915af6622f (diff) | |
download | cpython-23a567c11ca36eedde0e119443c85cc16075deaf.tar.gz cpython-23a567c11ca36eedde0e119443c85cc16075deaf.zip |
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163)
Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/codecontext.py')
-rw-r--r-- | Lib/idlelib/codecontext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/codecontext.py b/Lib/idlelib/codecontext.py index eb19773f56e..f2f44f5f8d4 100644 --- a/Lib/idlelib/codecontext.py +++ b/Lib/idlelib/codecontext.py @@ -142,7 +142,7 @@ class CodeContext: self.text.after_cancel(self.t1) self._reset() menu_status = 'Show' - self.editwin.update_menu_label(menu='options', index='* Code Context', + self.editwin.update_menu_label(menu='options', index='*ode*ontext', label=f'{menu_status} Code Context') return "break" |