[New-bugs-announce] [issue35467] IDLE: unrequested pasting into Shell after restart
Terry J. Reedy
report at bugs.python.org
Tue Dec 11 21:32:04 EST 2018
New submission from Terry J. Reedy <tjreedy at udel.edu>:
IDLE very occasionally (frequency much less than .01), and AFAIK hapzardly, pastes previous shell output after I enter something at the prompt after a restart. Not fatal but definitly annoying. When it happened today, I decided to open this issue to start accumulating information that might point at where to start.
tem3.py: (content likely not relevant)
OSError: could not find class definition
======================== RESTART: F:\Python\a\tem3.py ========================
>>> 1/0======================== RESTART: F:\Python\a\tem3.py ========================
SyntaxError: invalid syntax
Traceback (most recent call last):
The paste, after '1/0', is the restart line and the first two lines of output (but not the last two). It mixes text from IDLE and from the program, so it is not an echo from the run process). It is colored as if typed in: 'class' and 'pass' are keyword colored, the I believe I hit ENTER and got the paste instead of the exception. I hit Entere after the paste to get the SyntaxError and a clean prompt. Then I reentered 1/0.
I did more or less the same thing about 5 times without a repeat of the problem.
exception before restart (probably not relevant).
restart, prompt, and entry (I believe these are essential elements).
running a file (I seldom restart other wise).
restart line (I am pretty sure pasted text does not always include this).
output from before the restart (ever?).
output from after the restart (if always, must have run a file).
Raymond, I believe you have seen this on Mac. Tal or Sheryl, how about linux? Anyone, more details on other examples are needed to know what is constant and what is incidental.
nosy: cheryl.sabella, rhettinger, taleinat, terry.reedy
stage: needs patch
title: IDLE: unrequested pasting into Shell after restart
versions: Python 3.7, Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce