[New-bugs-announce] [issue41775] IDLE: change Shell window title

Terry J. Reedy report at bugs.python.org
Sun Sep 13 00:00:10 EDT 2020


New submission from Terry J. Reedy <tjreedy at udel.edu>:

The IDLE Shell window title is set with pyshell line 836
    shell_title = "Python " + python_version() + " Shell"
The python_version() part was added in March 2013 by the first patch for issue 17390: https://hg.python.org/cpython/rev/74d9a9507019.

In issue 41765, Mark Summerfield suggested in a side-comment that the title should be 'IDLE'.

E. Paine agreed that it should be changed, suggesting that it contributes to the fact that "there are lots people when first starting who think the IDLE shell *is the* Python shell".  I have noticed this fact on Stackoverflow, where about half the questions tagged 'python-idle' have nothing to do with IDLE.  (I regularly remove such mistaken tags.)  I have wondered why and how to better counter this.  For one thing, it results in users blaming IDLE for Python behavior, such as not running buggy code.  I never noticed before that IDLE promotes the confusion a bit in the shell title.

Issues such as #37903 (move prompt to shell sidebar, which I am planning to review soon) and #37892 (separate input area) will differentiate the IDLE Shell from the standard REPL even more.

Paine suggested 'IDLE <version> Shell'.  I don't want to suggest that IDLE is independently versioned, and prefer 'IDLE Shell (<version>)'.  The parenthesized version is used for editor windows (and was also added by #17390).  On Windows, mousing over a taskbar icon initially shows about 10-14 variable-width letters of the title.  Is 'Shell' or '3.x.y' more important to be ensured of visibility?

Other suggestions and comments?

[If IDLE becomes a tabbed-window application, the window title would be 'IDLE (version)' and the shell would be on a 'Shell' tab.]

----------
assignee: terry.reedy
components: IDLE
messages: 376819
nosy: cheryl.sabella, epaine, taleinat, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: change Shell window title
type: enhancement
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41775>
_______________________________________


More information about the New-bugs-announce mailing list