[issue25642] Setting maxsize breaks asyncio.JoinableQueue/Queue

2016-04-16 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved status: open -> closed type: crash -> behavior ___ Python tracker ___ ___ Python-bug

[issue25642] Setting maxsize breaks asyncio.JoinableQueue/Queue

2015-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: Should also be fixed in the next 3.4/3.5 releases. We rewrote the guts of the Queue class to be much simpler. See https://github.com/python/asyncio (specifically, https://github.com/python/asyncio/commit/872597ba12953849cc6893042fd044073b87f870). --

[issue25642] Setting maxsize breaks asyncio.JoinableQueue/Queue

2015-11-16 Thread Chris Seto
Chris Seto added the comment: Looks to be fixed in python 3.6 -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mai

[issue25642] Setting maxsize breaks asyncio.JoinableQueue/Queue

2015-11-16 Thread Chris Seto
New submission from Chris Seto: When maxsize is set on a JoinableQueue/Queue and the queue is full (maxsize <= len(queue)) _put is called rather than __put_internal. __put_internal increments _unfinished_tasks but _put does not. Whenever using maxsize in a Queue calling task_done will almost alw