William Barr added the comment:
Ok, attached is a patch that should make IDLE silently ignore this happening;
upon looking into this, it was a rather trivial fix. The open function was
waiting on the return input from the askopenfile call, during which the calling
window was closed, setting
William Barr added the comment:
Ok. I'll see if I can get some protection around that then.
I did test the issue with 2.7, and I didn't find it. The window didn't open,
but it didn't generate an exception that would k
New submission from William Barr :
Steps for reproduction:
1. Open IDLE (Python 3.1.2)
2. Open a .py file
3. With the code window (not the shell window) in focus, Ctrl + O to bring up
the open file dialog. Do not select a file or press open.
4. Close the code window.
5. Select a file
New submission from William Barr :
Steps for reproduction:
1. Open a new code window
2. Enter python code which contains a syntax error
3. F5 and attempt to run the file (This was done without saving first)
4. Close the syntax error dialog.
5. Fix the syntax error and try to F5 again