On Thu, Jun 20, 2019 at 8:21 AM Michael Foord <fuzzy...@gmail.com> wrote:
> It works by raising an exception in the target thread, which the thread
is free to handle (usually for cleanup and then reraise).

Sure, those are the right semantics. How does it stop blocking I/O though?
Suppose the thread is waiting for a server to return a response which just
isn't ever going to come, but the connection somehow is kept open by the
other side?

--
--Guido van Rossum (python.org/~guido)
Pronouns: he/him/his (why is my pronoun here?)
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/P4SEGGJ4QBVT6GMBQG5ZFUPAGUKI65GM/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to