This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Constantine Ketskalo, louielu, serhiy.storchaka, terry.reedy
Date 2021-12-13.01:20:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639358432.94.0.0470085507546.issue31244@roundup.psfhosted.org>
In-reply-to
Content
What makes IDLE different from other desktop apps is that is it written in Python, uses the tkinter wrapping of cross-platform tcl/tk, and allows users to customize nearly all hotkey shortcuts.  But tk only allows Ascii chars, with modifiers, for hotkeys.  This issue would be much easier if IDLE had a fixed set of bindings, or even a fixed set for each major platform.

Issue 46052 is a duplicate of this.  In experiments reported there, using the Win10 Russian IME, I determined that the event.char for a Ctrl + letter-key combination is the corresponding Ascii control character, even when switched to Russian.  The difference is that event.keysym is '??' instead of an ascii letter and event.keysym_num is the unicode ordinal of the russian letter instead of the ascii letter.  So ('c', 99) becomes ('??', 1089).  I propose on #46052 to solve these issues by undoing this change and generating the event that would have happened in ENG mode.
History
Date User Action Args
2021-12-13 01:20:32terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, louielu, Constantine Ketskalo
2021-12-13 01:20:32terry.reedysetmessageid: <1639358432.94.0.0470085507546.issue31244@roundup.psfhosted.org>
2021-12-13 01:20:32terry.reedylinkissue31244 messages
2021-12-13 01:20:32terry.reedycreate