tweaked python break keymap