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 always cause a ValueError('task_done() called too many times').
---------- components: asyncio files: test.py messages: 254773 nosy: Chris Seto, gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: Setting maxsize breaks asyncio.JoinableQueue/Queue type: crash versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file41057/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25642> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com