[New-bugs-announce] [issue35196] IDLE text squeezer is too aggressive and is slow

Raymond Hettinger report at bugs.python.org
Fri Nov 9 05:00:52 EST 2018

New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:

The squeezed text is impairing IDLE's usability for teaching purposes.  Typing help() on any built-in type such as str immediately results in a squeeze-button rather than displaying help.  The same is true for showing lines from a file read or from a URL.

I recommend showing the first 50 to 100 lines and then squeezing the remainder.

Also, I think this may be the logic that is slowing down successive print calls in a loop.  Try running:

    for i in range(500):
        print(i, sep=' ')

or even:

    for i in range(500):
        print(i, i**2)

The output has noticeably slow delays between successive print() calls.

assignee: terry.reedy
components: IDLE
messages: 329507
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE text squeezer is too aggressive and is slow
type: behavior
versions: Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list