]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-89520: Load extension settings and keybindings from user config (GH-28713...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Jul 2026 03:48:31 +0000 (05:48 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 03:48:31 +0000 (03:48 +0000)
commit5fb56662f549ba2ec9994e9998045bba344bc790
tree3dbed6daa0c38623923f5f022f491a12e1512ea6
parentae1d2f18cd74aad8e15c1084c9c4f980d587036a
[3.13] gh-89520: Load extension settings and keybindings from user config (GH-28713) (GH-152992) (#152993)

[3.14] gh-89520: Load extension settings and keybindings from user config (GH-28713) (GH-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.

---------
(cherry picked from commit 8a8c8ee3f9c6ef1c95502338bd50b15513d530ac)

(cherry picked from commit 208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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>
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]