[issue35379] IDLE's close fails io is set to None on Mac

2020-07-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: #41413 exposed another double save on Mac issue. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: #17822 is not what I was thinking of, nor are #17614 or #22614, so I considered this issue done for now. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Before closing this, I want to review #17822 and if the specific fix is superceded by this one, remove it. -- stage: patch review -> commit review ___ Python tracker __

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 3d916a7b1ee29896bece4a6a37d8084fa3c1abf6 by Miss Islington (bot) in branch '3.7': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/3d916a7b1ee29896bece4a6a37d8084fa3c1abf6 --

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 73ccc3322f7ad0d016478ef20237bccd0a314f0a by Miss Islington (bot) in branch '3.8': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/73ccc3322f7ad0d016478ef20237bccd0a314f0a -- n

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15814 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/16213 ___ Python tracker ___ _

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dfd34a9cd58e8150c324190f746de919e140abe8 by Terry Jan Reedy in branch 'master': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/dfd34a9cd58e8150c324190f746de919e140abe8 -- __

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15815 pull_request: https://github.com/python/cpython/pull/16214 ___ Python tracker ___ __

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: By reading idlelib code, I determined that the error must arise from EditorWindow.close being called twice. I confirmed this with a debug print. EW.close is called from close_event, PyShell.close, and filelist.close_all_callback. For the AttributeError I se

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +15813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16212 ___ Python tracker ___ __

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Tal Einat
Tal Einat added the comment: I've also seen these occasionally, but I haven't yet found a way to reproduce consistently. Regardless, IMO the shutdown close() and _close() should be the places handling shutdown-related exceptions if possible. In all of the tracebacks posted here, as well as

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: What happens if you immediately close the Shell window? Perhaps your bug only appears after some amount of activity. (This is not true of the one I see with repository python.) -- ___ Python tracker

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also, the way I start IDLE is from a terminal session: $ python3.8 -m idlelib.idle -- ___ Python tracker ___ _

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: 1. your tracebacks are on macOS. Yes 2. They occur with installed, not repository Python. python installer 3. The missing attribute depends on whether Shell or an editor window is closed either only or last. I don't know the trigger event What macOS ve

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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 ins