Быстрый обходной путь для ошибки ^ C - это приостановка процесса со всеми потоками сначала с помощью ^ Z, а затем его уничтожение.
Это работает в Linux во многих случаях, когда ^ C не удается, и, как я только что проверил, это работает и здесь (протестировано на Python v.2.6.5):
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Queue
>>> q = Queue.Queue(maxsize=3)
>>> q.put(0)
>>> q.put(1)
>>> q.put(2)
>>> [^C]
KeyboardInterrupt #does not kill the process
>>> [^Z - Suspends and exits to shell]
[1]+ Stopped python
#mdf:~$ kill -9 %%
[1]+ Killed python