Andrew Borba <andrewbo...@fb.com> added the comment:

> The key word here is "misbehaving". Cooperative concurrency does require 
> cooperation.

Your stance makes sense in an ideal environment where we control every Task 
that our application deals with. However, there are some cases in which busted 
Task cancellation logic is out of our control to fix, and in some cases it may 
be critical to strictly enforce a timeout regardless of what a Task does. If 
wait_for is only to be used as a best effort, then we need a nuclear option as 
well.

----------
nosy: +andrewborba

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37736>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to