]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Dec 2023 16:14:15 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 16:14:15 +0000 (17:14 +0100)
commitceabbeaca3d1a95ec7f52d552d9b36146bf78e7c
treeb2b509cf1a07fec03d760964bff33f3e0ce486c3
parente4d2fb242a5049ae1a2b80fd56ec2c877a19c12f
[3.12] gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939) (#112960)

gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939)

* gh-112898: warn about unsaved files when quitting IDLE on macOS

Implement the TK function ``::tk::mac::Quit`` on macOS to
ensure that IDLE asks about saving unsaved files when
quitting IDLE.

(cherry picked from commit 3251ba8f1af535bf28e31a6832511ba19e96b262)

Co-authored-by: Christopher Chavez chrischavez@gmx.us
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Lib/idlelib/macosx.py
Misc/NEWS.d/next/IDLE/2023-12-10-20-01-11.gh-issue-112898.98aWv2.rst [new file with mode: 0644]