Author terry.reedy
Recipients terry.reedy
Date 2019-10-26.21:03:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572123836.51.0.5425055858.issue38598@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-10-26 21:03:56terry.reedysetrecipients: + terry.reedy
2019-10-26 21:03:56terry.reedysetmessageid: <1572123836.51.0.5425055858.issue38598@roundup.psfhosted.org>
2019-10-26 21:03:56terry.reedylinkissue38598 messages
2019-10-26 21:03:56terry.reedycreate