Commit eb0abce2 authored by Andrew Svetlov's avatar Andrew Svetlov

Issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper

parent 41a234a6
......@@ -1421,8 +1421,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()
......
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