Yury Selivanov <yseliva...@gmail.com> added the comment:

> My use case was outside control of otherwise unconditionally blocking task 
> (for tests only). What replacement (if any) would you suggest?


Use Task.cancel() or use a Queue to communicate with the task.  Your test code 
was working, but ultimately was creating an unexpected (and not officially 
documented/supported) situation for the task.

----------

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

Reply via email to