Roundup Robot added the comment:
New changeset b742bbf6b07f by Andrew Svetlov in branch '3.2':
Issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
http://hg.python.org/cpython/rev/b742bbf6b07f
New changeset 96b6e6522a1d by Andrew Svetlov in branch '3.3':
Merge issue #16583: Prevent
Andrew Svetlov added the comment:
Fixed. Thanks for report.
As tkinter code is not processed via 2to3 tool now, I've fixed
tkinter/__init__.py and like to close the issue.
If there are problems in 2to3 please open new ticket dedicated to 2to3 tool
only, not related to tkinter.
--
New submission from Abraham Karplus:
When a callback function gets called from Tkinter and raises SystemExit (either
directly or through sys.exit), a new SystemExit exception is raised with the
original exception as its code field, such as
SystemExit(SystemExit(),)
This is due to a bug in
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +2to3 (2.x to 3.x conversion tool)
nosy: +benjamin.peterson, gpolo
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16583