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.
Sorry, something went wrong.
|
@terryjreedy, please take a look. I tested this change and fixed it. It LGTM now. |
Sorry, something went wrong.
|
Sorry, something went wrong.
|
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
69851a6
into
python:main
Jun 6, 2026
|
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. |
Sorry, something went wrong.
…rsion (pythonGH-17578) Co-authored-by: Guilherme Polo <ggpolo@gmail.com> Co-authored-by: Priya Pappachan <priyapappachan010@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Guilherme Polo ggpolo@gmail.com
Co-Authored-By: Priya Pappachan priyapappachan010@gmail.com
https://bugs.python.org/issue6699