This is Python Issue 3137: http://bugs.python.org/issue3137
No activity in a year. You could poke around in http://svn.python.org/projects/python/trunk/Python/pythonrun.c. But be careful of an incomplete fix; this happens for other module imports also. e.g., I just got: Traceback (most recent call last): File "/usr/lib/command-not-found", line 12, in <module> from optparse import OptionParser File "/usr/lib/python2.6/optparse.py", line 9, in <module> """ KeyboardInterrupt ** Bug watch added: Python Roundup #3137 http://bugs.python.org/issue3137 -- 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