Yury Selivanov added the comment:

> Honestly, I've lost track of the queue design. Maybe the push-back on 
> cancellation is just wrong? After all, if a coroutine has received an item, 
> it's out of the queue, even if it gets cancelled before it can do anything 
> with the item.

I think the push-back is a right thing.  At least, I wouldn't expect 
``wait_for(queue.get(), 0.1)`` code to lose queue items *sometimes* in big 
codebases.

----------

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

Reply via email to