This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2019-10-26.21:03:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:56terry.reedysetrecipients: + terry.reedy
2019-10-26 21:03:56terry.reedysetmessageid: <>
2019-10-26 21:03:56terry.reedylinkissue38598 messages
2019-10-26 21:03:56terry.reedycreate