[issue37551] IDLE: Quitting with a new, unsaved editor window causes an exception

Terry J. Reedy report at bugs.python.org
Fri Jul 12 11:34:40 EDT 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I see the traceback I reported on #37524, whichever way I close.  In both cases, EditorWindow.close is called and we get an AttributeError because a file has become None. close() calls maybesave before _close, so the exception I see happens before _close is called.  It is possible I have seen this, before the #37524 errors started.  See latter for possible fix.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37551>
_______________________________________


More information about the Python-bugs-list mailing list