Message352409
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? python.org 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: <idlelib.run.PseudoInputFile object at 0x05681418>
Traceback (most recent call last):
File "f:\dev\38\lib\idlelib\run.py", line 488, in close
File "f:\dev\38\lib\idlelib\pyshell.py", line 1020, in close
File "f:\dev\38\lib\idlelib\editor.py", line 1062, in close
File "f:\dev\38\lib\idlelib\outwin.py", line 94, in maybesave
File "f:\dev\38\lib\idlelib\editor.py", 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:17 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, taleinat, ned.deily, serhiy.storchaka, cheryl.sabella |
2019-09-14 06:07:17 | terry.reedy | set | messageid: <1568441237.97.0.107967129325.issue35379@roundup.psfhosted.org> |
2019-09-14 06:07:17 | terry.reedy | link | issue35379 messages |
2019-09-14 06:07:17 | terry.reedy | create | |
|