GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IDLE: Detect file if modified at local disk and prompt to ask refresh · Issue #94523 · python/cpython

IDLE: Detect file if modified at local disk and prompt to ask refresh #94523

New issue
Copy link
New issue
Copy link
Closed
Closed
IDLE: Detect file if modified at local disk and prompt to ask refresh#94523
Copy link
Assignees
terryjreedy
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-featureA feature request or enhancementA feature request or enhancement

Description

@znsoooo
znsoooo
opened on Jul 3, 2022
Issue body actions

Feature or enhancement

Because IDLE not good at text editing, I sometimes use another text editor to make text editing such as text replacement and refactoring while opening IDLE parallelly.

But when I go back to IDLE, the editor doesn't give any hints, and then on the next run, my text changes are overwritten.

So I add a feature that IDLE can detect whether the local file has changed and make a prompt, ask to refresh. or set file into unsaved state if not refreshed.

Previous discussion

Discuss at: https://discuss.python.org/t/i-made-some-improvement-for-idle-can-i-contribute-to-idlelib-library-in-python-project

Usage: https://github.com/znsoooo/IDLE-Advance

Implementation: https://github.com/znsoooo/IDLE-Advance/blob/master/idlealib/AutoReload.py

Linked PRs

  • gh-94523: Detect file if modified at local disk and prompt to ask refresh #145625
  • [3.13] gh-94523: IDLE: Detect file if modified and prompt the user to refresh (GH-145625) #152988
  • [3.14] gh-94523: IDLE: Detect file if modified and prompt the user to refresh (GH-145625) #152989

Activity

  1. znsoooo
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jul 3, 2022
  2. AlexWaygood
    added
    topic-IDLE
    on Jul 3, 2022
  3. AlexWaygood
    assigned
    terryjreedy
    on Jul 5, 2022
  4. terryjreedy
    added this to IDLE Issueson Jul 23, 2022
  5. CoolCat467 commented on Aug 16, 2024

    @CoolCat467
    CoolCat467
    on Aug 16, 2024
    Contributor
    More actions

    To be honest this is halfway advertising, but I made an extension that allows you to reload a currently open file in IDLE, but does not currently support automatic reloading as of writing: https://pypi.org/project/idlereload/

  6. picnixz
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Mar 7, 2026
  7. gpshead
    added a commit that references this issue on Apr 11, 2026

    gh-94523: IDLE: Detect file if modified and prompt the user to refresh (

    6e2272d
  8. gpshead commented on Apr 11, 2026

    @gpshead
    gpshead
    on Apr 11, 2026
    Member
    More actions

    pr merged, thanks!

    Reacted by CoolCat467
  9. gpshead
    closed this as completedon Apr 11, 2026
  10. github-project-automation
    moved this to Done in IDLE Issueson Apr 11, 2026
  11. CoolCat467 commented on Apr 12, 2026

    @CoolCat467
    CoolCat467
    on Apr 12, 2026
    Contributor
    More actions

    Would this being merged count as completing #44968?

  12. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-94523: IDLE: Detect file if modified and prompt the user to …

    5f3042d
  13. terryjreedy
    added 2 commits that reference this issue on Jul 4, 2026

    [3.13] gh-94523: IDLE: Detect file if modified and prompt the user to…

    2a0fc42

    [3.14] gh-94523: IDLE: Detect file if modified and prompt the user to…

    c055770
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @terryjreedy
    terryjreedy

Labels

stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-featureA feature request or enhancementA feature request or enhancement

Projects

  • IDLE Issues
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.