]> granicus.if.org Git - python/commit
bpo-6739: IDLE: Check for valid keybinding in config_keys (#2377)
authorcsabella <cheryl.sabella@gmail.com>
Mon, 26 Jun 2017 04:55:48 +0000 (00:55 -0400)
committerterryjreedy <tjreedy@udel.edu>
Mon, 26 Jun 2017 04:55:48 +0000 (00:55 -0400)
commit8c78aa70c888a370af18896a72cabd00e4120f09
treeb7059a54610f623b90969315be4ac868f366243f
parentaf5392f5c6f8014659e995840df6ee7b5017f743
bpo-6739: IDLE: Check for valid keybinding in config_keys (#2377)

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