Skip to content

IDLE - Fix Shell title bar. #96491

@terryjreedy

Description

@terryjreedy

An editor connected to a file get a title like 'abc.py - path/to/abc.py (3.11.0)'. (But see #65787.) The Shell starts with 'IDLE Shell 3.11.0' and if saved, adds path and duplicate version. Instead, start with "IDLE Shell - (3.11.0) and insert path if saved.

Default file type is currently .py. I think it should be .txt unless and until add Save Code is added.

Could consider similar with new file. Grep title probably OK. Also note #3701 (unsaved indicator).

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-IDLEtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions