]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6] bpo-6739: IDLE: Check for valid keybinding in config_keys (GH-2377) (#2397)
authorterryjreedy <tjreedy@udel.edu>
Mon, 26 Jun 2017 05:21:02 +0000 (01:21 -0400)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2017 05:21:02 +0000 (01:21 -0400)
commit64a0c266e78c6b5363668012fa7fb614f6018930
treea3d1506d60b6093062d8430f7fca56aa4c3e20a9
parent9c2dc0c58a878ac3d1c44dd0048f8e1cfab2790e
[3.6] bpo-6739: IDLE: Check for valid keybinding in config_keys (GH-2377) (#2397)

Verify user-entered key sequences by trying to bind them with tk.
Add tests for all 3 validation functions.
Original patch by G Polo.  Tests added by Cheryl Sabella.
(cherry picked from commit 8c78aa7)
Lib/idlelib/config_key.py
Lib/idlelib/idle_test/test_config_key.py
Misc/NEWS.d/next/IDLE/2017-06-26-00-28-59.bpo-6739.x5MfhB.rst [new file with mode: 0644]