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 terry.reedy
Date 2014-06-08.19:57:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402257459.19.0.652295391424.issue21695@psf.upfronthosting.co.za>
In-reply-to
Content
Reproducer: On Windows, Open Idle and editor. In editor grep (alt-f3), for instance, 'print' in /Lib/*.py. While hits are flashing by, close the output window with [x]

2.7.6 or .7: Output window closes, Idle continues as desired.
3.3.5 or 3.4.1: All Idle windows - shell, editor, output
3.4.1+, 3.5.0a, debug builds run from console interpreter:
Output window closes, Idle continues, as desired.
console window displays exception ending with 

  File "F:\Python\dev\5\py35\lib\idlelib\GrepDialog.py", line 90, in grep_it
    (fn, lineno, line))
  File "F:\Python\dev\5\py35\lib\idlelib\OutputWindow.py", line 40, in write
    self.text.insert(mark, s, tags)
AttributeError: 'NoneType' object has no attribute 'insert'

The specific fix is to wrap the text insert with try: except: break. The immediate mystery  is why 2.7 did not shutdown with nowhere to print the traceback.
History
Date User Action Args
2014-06-08 19:57:39terry.reedysetrecipients: + terry.reedy
2014-06-08 19:57:39terry.reedysetmessageid: <1402257459.19.0.652295391424.issue21695@psf.upfronthosting.co.za>
2014-06-08 19:57:39terry.reedylinkissue21695 messages
2014-06-08 19:57:38terry.reedycreate