Message355432
When the Shell is active, the Run menu is disabled, but its shortcuts are not. These are F5 Run Module, Shift-F5 Run ... Custom, and Alt-X Check Module. If Shell has not been saved, the shortcuts do nothing, but once Shell has been saved, they try to compile the entire shell session.
The result is that the '3' in 'Python 3.8 ...' on the first line is highlighted as an error and the SyntaxError box pops up. When the box is dismissed, the cursor is placed after the '3'.
Instead of calling compile, IDLE should beep and continue. |
|
Date |
User |
Action |
Args |
2019-10-26 21:03:56 | terry.reedy | set | recipients:
+ terry.reedy |
2019-10-26 21:03:56 | terry.reedy | set | messageid: <1572123836.51.0.5425055858.issue38598@roundup.psfhosted.org> |
2019-10-26 21:03:56 | terry.reedy | link | issue38598 messages |
2019-10-26 21:03:56 | terry.reedy | create | |
|