[issue37334] Add a cancel method to asyncio Queues

Andrew Svetlov report at bugs.python.org
Sat Jun 22 08:32:07 EDT 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Agree with Caleb.

The more I think the more I doubt about the proposal.
Cancellation is for tasks, not for queues or locks.

When should I cancel a queue but cannot cancel a task?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37334>
_______________________________________


More information about the Python-bugs-list mailing list