Attached is a patch against the readline module that hooks the readline event hook to call the PyErr_CheckSignals(). This way, Python signal handlers get run even if you are sitting at a readline prompt (where they didn't before). this solves a long-standing annoyance for me. whew.