]> granicus.if.org Git - python/commit
bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Sep 2019 06:23:12 +0000 (23:23 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 06:23:12 +0000 (23:23 -0700)
commit73ccc3322f7ad0d016478ef20237bccd0a314f0a
tree1a8df5b3bd8d22ecd3f3638e34f0ac45725ea0d3
parentf04299d978793be33828dc4d5f46e9b54c81a0a2
bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212)

One happens when EditorWindow.close is called twice.
Printing a traceback, when IDLE is run from a terminal,
is useless and annoying.
(cherry picked from commit dfd34a9cd58e8150c324190f746de919e140abe8)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/editor.py
Misc/NEWS.d/next/IDLE/2019-09-17-01-28-56.bpo-35379.yAECDr.rst [new file with mode: 0644]