Is this pythonic?
Chris Angelico
rosuav at gmail.com
Thu Nov 24 04:58:19 EST 2016
On Thu, Nov 24, 2016 at 7:39 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
> * Coroutines can be killed, threads cannot.
>
Not strictly true. A coroutine can be abandoned at an await point, but
the currently-executed call is still going to complete (usually); a
thread can be killed, but certain non-interruptible operations will
delay the termination until after that operation. So either way, the
operation still runs to completion.
ChrisA
More information about the Python-list
mailing list