Kaydet (Commit) 2d727810 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Merge issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper

...@@ -1440,8 +1440,8 @@ class CallWrapper: ...@@ -1440,8 +1440,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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment