mirror of
https://github.com/python/cpython.git
synced 2025-10-28 09:10:36 +00:00
Issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
This commit is contained in:
parent
41a234a679
commit
eb0abce2f8
1 changed files with 2 additions and 2 deletions
|
|
@ -1421,8 +1421,8 @@ class CallWrapper:
|
||||||
if self.subst:
|
if self.subst:
|
||||||
args = self.subst(*args)
|
args = self.subst(*args)
|
||||||
return self.func(*args)
|
return self.func(*args)
|
||||||
except SystemExit as msg:
|
except SystemExit:
|
||||||
raise SystemExit(msg)
|
raise
|
||||||
except:
|
except:
|
||||||
self.widget._report_exception()
|
self.widget._report_exception()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue