This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mordis
Recipients Mordis, asvetlov, yselivanov
Date 2018-01-16.19:53:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516132419.05.0.467229070634.issue32574@psf.upfronthosting.co.za>
In-reply-to
Content
Repro: asyncio queue with limited size and the queue full, call asyncio.wait_for(some_queue.put(1), some_timeout). Every canceled put produces a new item in queue._putters that is never deleted (memory leak). 

Uploaded to the issue a file with an example.

The get method had a very similar bug which was fixed in 2016-11. The related issue:
https://bugs.python.org/issue31620

I already have the code for the PR prepared, so I want to publish the link of the MR in a few of minutes.
History
Date User Action Args
2018-01-16 19:53:39Mordissetrecipients: + Mordis, asvetlov, yselivanov
2018-01-16 19:53:39Mordissetmessageid: <1516132419.05.0.467229070634.issue32574@psf.upfronthosting.co.za>
2018-01-16 19:53:38Mordislinkissue32574 messages
2018-01-16 19:53:38Mordiscreate