[issue11437] IDLE crash on startup with typo in config-keys.cfg

Terry J. Reedy report at bugs.python.org
Mon Jun 9 20:29:13 CEST 2014


Terry J. Reedy added the comment:

Mark, they are both inactive at the moment.

There are a number of issue around configuration, especially key bindings. I think the whole process needs review and redoing. For instance, I understand Roger as saying that the problematical known-invalid list (set) is needed because GetCurrentKeySet is called repeatedly, once for each extension. I want to look into fixing the repeated calls, which will increase with more extensions, and possibly eliminate the need for known-invalid.

Another redesign: I think Control-Key-x should automatically mean Control-Key-X, and ditto for Alt-Key-x, and that we should not need both in config-keys even if tk requires separate bind calls.

Saimadhav, we should try to do some validation of the key bindings in the unittest for configurations. The pattern seems to be
  optional Control-, Alt-, or Meta-
  optional Shift-
  required Key-
  required ascii key, bracketleft/right, or Uppercase-key-name,

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11437>
_______________________________________


More information about the Python-bugs-list mailing list