FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-44968: Add "Reload from Disk" feature to IDLE by ashm-dev · Pull Request #141574 · python/cpython · GitHub

Repository navigation

gh-44968: Add "Reload from Disk" feature to IDLE - #141574

Closed
ashm-dev wants to merge 127 commits into
python:mainfrom
ashm-dev:idle
Closed

ashm-dev wants to merge 127 commits into
python:mainfrom
ashm-dev:idle

Conversation

ashm-dev commented Nov 14, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Comment thread Lib/idlelib/iomenu.py Outdated

sharktide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I also don’t think we should restore the cursor position since a file’s line numbers could also change when it is edited and it could cause confusion.

ashm-dev and others added 2 commits November 15, 2025 09:47
Co-authored-by: R.C.M <sharktidedev@gmail.com>
Removed cursor position restoration logic during file reload.

Copy link
Copy Markdown
Contributor Author

I also don’t think we should restore the cursor position since a file’s line numbers could also change when it is edited and it could cause confusion.

Rewrote it, now it won't save cursor position.

ashm-dev requested a review from sharktide November 15, 2025 07:24

picnixz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please rely more on unittest.mock.patch() as well as mock features directly. In addition add a What's New entry in addition to the NEWS entry.

Comment thread Lib/idlelib/idle_test/test_iomenu.py Outdated
Comment thread Lib/idlelib/idle_test/test_iomenu.py Outdated
Comment thread Lib/idlelib/idle_test/test_iomenu.py Outdated
Comment thread Lib/idlelib/idle_test/test_iomenu.py Outdated
Comment thread Lib/idlelib/idle_test/test_iomenu.py Outdated

bedevere-app Bot commented Nov 15, 2025

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

ashm-dev requested a review from AA-Turner as a code owner November 15, 2025 22:28

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

python-cla-bot Bot commented Dec 8, 2025

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

ashm-dev closed this Dec 8, 2025
ashm-dev deleted the idle branch December 8, 2025 16:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.


Back | FazBrowse Home | New Git URL