[Async-sig] killing tasks that won't cancel

Chris Jerdonek chris.jerdonek at gmail.com
Tue Feb 19 14:53:44 EST 2019


I have an asyncio question.

In Python 3.7, is there a way to reliably end a task after having
already tried calling cancel() on it and waiting for it to end?

In Python 3.6, I did this with task.set_exception(), but in 3.7 that
method was removed.

--Chris


More information about the Async-sig mailing list