gh-50948: IDLE: Warn if saving a file will overwrite a newer version - #17578
Conversation
Co-Authored-By: Guilherme Polo <[email protected]> Co-Authored-By: Priya Pappachan <[email protected]>
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. |
…ersion (GH-17578) (GH-151026) (cherry picked from commit 69851a6) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Guilherme Polo <[email protected]> Co-authored-by: Priya Pappachan <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…ersion (GH-17578) (GH-151027) (cherry picked from commit 69851a6) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Guilherme Polo <[email protected]> Co-authored-by: Priya Pappachan <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…ersion (GH-17578) (GH-151028) (cherry picked from commit 69851a6) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Guilherme Polo <[email protected]> Co-authored-by: Priya Pappachan <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…rsion (pythonGH-17578) Co-authored-by: Guilherme Polo <[email protected]> Co-authored-by: Priya Pappachan <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
Co-Authored-By: Guilherme Polo [email protected]
Co-Authored-By: Priya Pappachan [email protected]
https://bugs.python.org/issue6699