[issue26259] Memleak when repeated calls to asyncio.queue.Queue.get is performed, without push to queue.

Guido van Rossum report at bugs.python.org
Tue Feb 2 19:21:34 EST 2016


Guido van Rossum added the comment:

First, you wrote "The easy solution was to check if the queue was
empty and skip the read (get call) if there was nothing in the queue"
-- which is exactly what get_nowait() does.

As to a patch, I think you should just describe how you would change
the code, then we can talk details.

----------

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


More information about the Python-bugs-list mailing list