summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-12-04 21:16:18 (GMT)
committerGitHub <noreply@github.com>2017-12-04 21:16:18 (GMT)
commit1e2fcac4972530aa2c963d7e4011021df5ba866e (patch)
treea34302b6c33d65cc9537719db5225ace919b1863 /Misc
parent21255fc3932a60c064f85c0fe68f2840f390ebe4 (diff)
downloadcpython-1e2fcac4972530aa2c963d7e4011021df5ba866e.zip
cpython-1e2fcac4972530aa2c963d7e4011021df5ba866e.tar.gz
cpython-1e2fcac4972530aa2c963d7e4011021df5ba866e.tar.bz2
bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703)
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/IDLE/2017-12-04-15-04-43.bpo-32207.IzyAJo.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2017-12-04-15-04-43.bpo-32207.IzyAJo.rst b/Misc/NEWS.d/next/IDLE/2017-12-04-15-04-43.bpo-32207.IzyAJo.rst
new file mode 100644
index 0000000..e521c9b
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2017-12-04-15-04-43.bpo-32207.IzyAJo.rst
@@ -0,0 +1,6 @@
+Improve tk event exception tracebacks in IDLE.
+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.