]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89520: Load extension settings and keybindings from user config (GH-28713)
authorCoolCat467 <52022020+CoolCat467@users.noreply.github.com>
Sun, 12 Apr 2026 04:44:33 +0000 (23:44 -0500)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2026 04:44:33 +0000 (04:44 +0000)
commit208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1
tree8458977532ea3b92f898a13200780d3cc41b997a
parentb3b0cef0c2aacdc616fa48674552ab1e34553835
gh-89520: Load extension settings and keybindings from user config (GH-28713)

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>
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]