]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-89520: Load extension settings and keybindings from user config (GH-28713...
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 4 Jul 2026 03:24:34 +0000 (23:24 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 03:24:34 +0000 (23:24 -0400)
commit8a8c8ee3f9c6ef1c95502338bd50b15513d530ac
treed222acc142a221a7a583e4c41622cb5a6792ed33
parentf3516504cc095317849d260d5e36c3c0091d22eb
[3.14] gh-89520: Load extension settings and keybindings from user config (GH-28713) (#152992)

Extension keybindings defined in ~/.idlerc/config-extensions.cfg
were silently ignored because GetExtensionKeys, __GetRawExtensionKeys,
and GetExtensionBindings only checked default config.
Fix these to check user config as well, and update the extensions config
dialog to handle user-only extensions correctly.

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit 208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1)
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_zzdummy.py
Lib/idlelib/idle_test/test_zzdummy_user.py [new file with mode: 0644]
Misc/NEWS.d/next/IDLE/2021-10-03-21-55-34.gh-issue-89520.etEExa.rst [new file with mode: 0644]