Author rhettinger
Recipients ned.deily, rhettinger, taleinat, terry.reedy
Date 2019-10-26.18:33:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572114829.99.0.614974845101.issue38440@roundup.psfhosted.org>
In-reply-to
Content
Reproducer for the jump-to-top bug:
* Start an IDLE interactive shell session
* Run:  File Save As tmp.py
* Press F5 to run the shell session (this is an error)

Effects:
* A message box with "Invalid Syntax" appears
* The cursor jumps to the top row and lands
  on the first "3" in:
  "Python 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27) "

Suggestions:
* Don't have the cursor jump after "Invalid Syntax"
* Disable F5 for interactive prompt sessions

Impact:
* Students are saving their long-running shell sessions during class.  Occasionally, they press F5 to run a script but the interactive shell has the focus.  The "jump" described above is disruptive because it moves the cursor to the start of the session which may have occurred hours beforehand.
History
Date User Action Args
2019-10-26 18:33:50rhettingersetrecipients: + rhettinger, terry.reedy, taleinat, ned.deily
2019-10-26 18:33:49rhettingersetmessageid: <1572114829.99.0.614974845101.issue38440@roundup.psfhosted.org>
2019-10-26 18:33:49rhettingerlinkissue38440 messages
2019-10-26 18:33:49rhettingercreate