]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:24:02 +0000 (23:24 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 06:24:02 +0000 (23:24 -0700)
commit3d916a7b1ee29896bece4a6a37d8084fa3c1abf6
treedec4fbd6bce58e483ea79371e7bf53c1bb115afe
parent4ac1be28281d8961e71b13623c3671245c125760
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]