]> granicus.if.org Git - python/commit
Perhaps a controversial change: when reporting a callback exception,
authorGuido van Rossum <guido@python.org>
Tue, 13 Oct 1998 20:02:39 +0000 (20:02 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Oct 1998 20:02:39 +0000 (20:02 +0000)
commit9f1292d84000f9793793002f46cd2767ff8e3dc6
tree4f6a26c2836b2d94a9a8bbd7cc1087350fc2fa58
parentad24ae10df60b77cf3cbd6497798d0d72a2810c1
Perhaps a controversial change: when reporting a callback exception,
assign the exception info to sys.last_{type,value,traceback}.  That
way, an introspective Tkinter app can inspect its own stack trace.

(The controversy is that it would keep some objects alive, but that's
probably no big deal.)
Lib/lib-tk/Tkinter.py