Chris Angelico <ros...@gmail.com>:

> What I said was that you don't need threading or alarms because most
> of the time you can let the user use SIGINT. And without the (utterly
> totally useless) threading that you have here, it works flawlessly:
> Ctrl-C instantly breaks the recv call.

Oh, if you give up threading (which I commend you for), problems
evaporate.

So just use async if that's your cup of tea, or nonblocking I/O and
select.epoll(), which is my favorite.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to