Index: Lib/idlelib/PyShell.py =================================================================== --- Lib/idlelib/PyShell.py (revision 65732) +++ Lib/idlelib/PyShell.py (working copy) @@ -1061,7 +1061,8 @@ return "break" def home_callback(self, event): - if event.state != 0 and event.keysym == "Home": + if (event.state & 12) != 0 and event.keysym == "Home": + # state&1==shift, state&4==control, state&8==alt return # ; fall back to class binding if self.text.compare("iomark", "<=", "insert") and \ self.text.compare("insert linestart", "<=", "iomark"):