[issue23812] asyncio.Queue.put_nowait(), followed get() task cancellation leads to item being lost

Gustavo J. A. M. Carneiro report at bugs.python.org
Fri Aug 7 15:06:25 CEST 2015


Gustavo J. A. M. Carneiro added the comment:

I was wrong, there still needs to be some cleanup in cancellation, even with the new approach.  But it does solve the out-of-order problem.

I don't know if it should be applied to rc1.  I wish I had more time to test.  Up to you guys.

----------
Added file: http://bugs.python.org/file40142/p.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23812>
_______________________________________


More information about the Python-bugs-list mailing list