[issue38128] IDLE undo calls get_saved() when set to None
Raymond Hettinger
report at bugs.python.org
Thu Sep 12 21:22:05 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Here's one more:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1883, in __call__
return self.func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/multicall.py", line 176, in handler
r = l[i](event)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/filelist.py", line 54, in close_all_callback
reply = edit.close()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/editor.py", line 1079, in close
self._close()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/pyshell.py", line 312, in _close
EditorWindow._close(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/editor.py", line 1083, in _close
if self.io.filename:
AttributeError: 'NoneType' object has no attribute 'filename'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38128>
_______________________________________
More information about the Python-bugs-list
mailing list