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>
3 files changed