The only proper fix for this (as Zygmunt Krynicki already pointed out) is to write a C client that can then catch SIGINT early. The problem with python is that during startup we can not install a SIGINT handler. So if ctrl-c is pressed early enough, a similar error is always going to show up (e.g. import site failed).
-- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs