gh-50948: IDLE: Warn if saving a file will overwrite a newer version#17578
Conversation
Co-Authored-By: Guilherme Polo <ggpolo@gmail.com> Co-Authored-By: Priya Pappachan <priyapappachan010@gmail.com>
serhiy-storchaka
left a comment
There was a problem hiding this comment.
./python -m idlelib newfile.py fails, because io.set_filename() is called with non-existing file name.
|
@terryjreedy, please take a look. I tested this change and fixed it. It LGTM now. |
|
|
|
This PR is stale because it has been open for 30 days with no activity. |
|
Thanks @ZackerySpytz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
GH-151026 is a backport of this pull request to the 3.15 branch. |
|
GH-151027 is a backport of this pull request to the 3.14 branch. |
|
GH-151028 is a backport of this pull request to the 3.13 branch. |
Co-Authored-By: Guilherme Polo ggpolo@gmail.com
Co-Authored-By: Priya Pappachan priyapappachan010@gmail.com
https://bugs.python.org/issue6699