Merge issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
This commit is contained in:
commit
2d72781082
|
@ -1440,8 +1440,8 @@ class CallWrapper:
|
|||
if self.subst:
|
||||
args = self.subst(*args)
|
||||
return self.func(*args)
|
||||
except SystemExit as msg:
|
||||
raise SystemExit(msg)
|
||||
except SystemExit:
|
||||
raise
|
||||
except:
|
||||
self.widget._report_exception()
|
||||
|
||||
|
|
Loading…
Reference in New Issue