New submission from Saimadhav Heblikar:

Steps to reproduce the bug:
1. IDLE > options > configure idle > keys

2. Try to replace a keybinding for an action with that of another action which 
has more than one keybinding.
For eg : Default binding of copy=<Control-Key-c> <Control-Key-C>.
So, try to replace any other keybinding with <Control-Key-c>

3. This change is accepted

Now the <Control-Key-C> binding will be assigned to two actions.

This bug only applies if the other action has more than one binding.
In case the other action has only one binding, an error is raised(as expected).


Attaching a patch to fix this issue.

----------
components: IDLE
files: keybinding.diff
keywords: patch
messages: 218734
nosy: sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE : Bug in keybinding validity check
type: behavior
versions: Python 2.7, Python 3.4
Added file: http://bugs.python.org/file35275/keybinding.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21519>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to