[New-bugs-announce] [issue31331] IDLE: Move prompts with input.

Terry J. Reedy report at bugs.python.org
Sat Sep 2 19:52:22 EDT 2017

New submission from Terry J. Reedy:

When this program (from thread by Steven D'Aprano) on python-list is run

import time
from threading import Timer

def do_work():
    x = 2 + 2
    print("It is", time.asctime(), "and 2+2 is", x)

def go():
    Timer(10, do_work, ()).start()  # schedule it in one minute

The response, if it occurs while one in entering a statement, 'pushes down' the entry in progress.

======================= RESTART: F:\Python\mypy\tem.py =======================
>>> go()
>>> It is Sat Sep  2 19:42:10 2017 and 2+2 is 4  #<== output
a = (
	12,   # <== 2nd line of entry in progress

The prompt should be pushed down too.

assignee: terry.reedy
components: IDLE
messages: 301177
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: Move prompts with input.
type: behavior
versions: Python 3.6, Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list