[Python-checkins] cpython (merge 3.3 -> default): Merge issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
andrew.svetlov
python-checkins at python.org
Mon Dec 3 15:14:02 CET 2012
http://hg.python.org/cpython/rev/657caf5d3eb1
changeset: 80709:657caf5d3eb1
parent: 80706:3b344eac6b0f
parent: 80708:96b6e6522a1d
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Mon Dec 03 16:13:48 2012 +0200
summary:
Merge issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
files:
Lib/tkinter/__init__.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -1440,8 +1440,8 @@
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()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list