This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Guilherme.Simões, Todd.Rovito, gpolo, r.david.murray, roger.serwy, terry.reedy
Date 2013-04-23.22:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366756382.55.0.308533442692.issue17822@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-04-23 22:33:02terry.reedysetrecipients: + terry.reedy, gpolo, roger.serwy, r.david.murray, Todd.Rovito, Guilherme.Simões
2013-04-23 22:33:02terry.reedysetmessageid: <1366756382.55.0.308533442692.issue17822@psf.upfronthosting.co.za>
2013-04-23 22:33:02terry.reedylinkissue17822 messages
2013-04-23 22:33:02terry.reedycreate