]> granicus.if.org Git - python/commit
bpo-32207: Improve tk event exception tracebacks in IDLE. (GH-4703) (#4705)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Dec 2017 22:02:32 +0000 (14:02 -0800)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 4 Dec 2017 22:02:32 +0000 (17:02 -0500)
commit9da33c82124f27eb58ba4cf145675fe7a1035744
tree8ae842fa47f9923d4d113c36275e884a1a2204e3
parent6e687948b0025a1ab0d0773efe62ce64f0c745fc
bpo-32207: Improve tk event exception tracebacks in IDLE. (GH-4703) (#4705)

When tk event handling is driven by IDLE's run loop, a confusing
and distracting queue.EMPTY traceback context is no longer added
to tk event exception tracebacks.  The traceback is now the same
as when event handling is driven by user code.  Patch based on
a suggestion by Serhiy Storchaka.
(cherry picked from commit 1e2fcac4972530aa2c963d7e4011021df5ba866e)
Lib/idlelib/run.py
Misc/NEWS.d/next/IDLE/2017-12-04-15-04-43.bpo-32207.IzyAJo.rst [new file with mode: 0644]