Terry J. Reedy added the comment:
A different console message, Shell window not closed
Python 3.4.0a0 (default:bcfb6888fb8d, Apr 18 2013, 19:47:33)
>>> import idlelib.idle
Exception in Tkinter callback
Traceback (most recent call last):
File "\cpython\lib\tkinter\__init__.py", line 1475, in __call__
return self.func(*args)
File "\cpython\lib\idlelib\EditorWindow.py", line 1002, in close
reply = self.maybesave()
File "\cpython\lib\idlelib\EditorWindow.py", line 999, in maybesa
ve
return self.io.maybesave()
File "\cpython\lib\idlelib\IOBinding.py", line 324, in maybesave
self.save(None)
File "\cpython\lib\idlelib\IOBinding.py", line 338, in save
if self.writefile(self.filename):
File "\cpython\lib\idlelib\IOBinding.py", line 370, in writefile
self.fixlastline()
File \cpython\lib\idlelib\IOBinding.py", line 426, in fixlastlin
e
c = self.text.get("end-2c")
AttributeError: 'NoneType' object has no attribute 'get'
There is, of course, no 3.4 installation icon for starting Idle without a
console. However
D:\Python\dev\cpython\PCbuild>pythonw_d -m idlelib
No message, Shell closes.
D:\Python\dev\cpython\PCbuild>python_d -m idlelib
...
AttributeError: 'NoneType' object has no attribute 'focus_set'
Message (different from other method of starting), Shell does not close.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17822>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com