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 python-dev, serhiy.storchaka, terry.reedy
Date 2016-07-20.20:57:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Addendum: I verified flag 8 is Mod1 is Numlock on Windows. has table that claims that 8 is Left Alt and that 16 is NumLock. From what you say above, true on non-mac *nix, and only there.

Flag 32 is Mod3 = Scrolllock on Windows.

Question: refers to event.mc_state in

    if hasattr(event, "mc_state") and event.mc_state:
        # A modifier was pressed along with the tab, continue as usual.

It is not mentioned as an event field in either the NMT ref or  However, it seems to be the state minus any 'lock' flags, Nun/Caps/Scrolllock on Windows.  It must use a system-specific mask.  The only Google hit for "tk event mc_state" is my recent commit of  Is this a normal tk event attribute or a local addition?

There is also mc_type, which is 0 for a tab combinations.
Date User Action Args
2016-07-20 20:57:29terry.reedysetrecipients: + terry.reedy, python-dev, serhiy.storchaka
2016-07-20 20:57:29terry.reedysetmessageid: <>
2016-07-20 20:57:29terry.reedylinkissue27294 messages
2016-07-20 20:57:29terry.reedycreate