Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-94523: Detect file if modified at local disk and prompt to ask refresh#145625

Open
znsoooo wants to merge 4 commits intopython:mainfrom
znsoooo:dev-reload
Open

gh-94523: Detect file if modified at local disk and prompt to ask refresh#145625
znsoooo wants to merge 4 commits intopython:mainfrom
znsoooo:dev-reload

Conversation

@znsoooo
Copy link
Contributor

@znsooooznsoooo commentedMar 7, 2026
edited
Loading

When the IDLE window is activated, detect whether the script has been modified by other editors. If modification exist, prompts whether to refresh the document. If Yes is selected, the document will be reloaded; if No is selected, the document status will be set to unsaved. The judgment is based on the last modified time of the file.

This feature help users avoid losing modifications made in other editors. If the file is not reloaded in IDLE (previously, it need to close and reopen script) after editing in other editors, do saving in IDLE will overwrite the changes made in other editors.

In another situation, if users do not want to keep modifications from other editors and need to overwrite the file content with the current state in IDLE, IDLE previously did not prompt that the file had been modified, and closing IDLE at this time would result in the loss of the current state in IDLE.

Screenshot:

截图_20260307_222345

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

Reviewers

@terryjreedyterryjreedyAwaiting requested review from terryjreedyterryjreedy is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@znsoooo

[8]ページ先頭

©2009-2026 Movatter.jp