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 cheryl.sabella, ned.deily, rhettinger, serhiy.storchaka, taleinat, terry.reedy
Date 2019-09-14.06:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Raymond, I presume 1. your tracebacks are on macOS. 2. They occur with installed, not repository Python. 3. The missing attribute depends on whether Shell or an editor window is closed either only or last.  Please verify.  What macOS version? installer?

I cannot, at least now, reproduce this on my Macbook with macOS Mohave (? the latest version) running 3.7.4 ('python3') from Terminal.  What could be different your system.  The macOS version?  Were your 3.8 reports based on the last beta (.0b4)?

I also cannot reproduce on Win10 running installed 3.7.4 or 3.8.0b4 from Command Prompt with the py launcher, I do not have any problems when closing.  

When running from repository 3.8 or 3.9 (master), but not 3.7, is see the following if a Shell is closed, last or not.

Exception ignored in: < object at 0x05681418>
Traceback (most recent call last):
  File "f:\dev\38\lib\idlelib\", line 488, in close
  File "f:\dev\38\lib\idlelib\", line 1020, in close
  File "f:\dev\38\lib\idlelib\", line 1062, in close
  File "f:\dev\38\lib\idlelib\", line 94, in maybesave
  File "f:\dev\38\lib\idlelib\", line 995, in get_saved
AttributeError: 'NoneType' object has no attribute 'get_saved'

The get_saved fix proposed in PR 10564 (object.method() => object and object.method()) will fix this also.  But I want to try changing the closing order first.

Tal and Cheryl, other people testing might be helpful.
Date User Action Args
2019-09-14 06:07:17terry.reedysetrecipients: + terry.reedy, rhettinger, taleinat, ned.deily, serhiy.storchaka, cheryl.sabella
2019-09-14 06:07:17terry.reedysetmessageid: <>
2019-09-14 06:07:17terry.reedylinkissue35379 messages
2019-09-14 06:07:17terry.reedycreate