Message310107
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. |
|
| Date |
User |
Action |
Args |
| 2018-01-16 19:53:39 | Mordis | set | recipients:
+ Mordis, asvetlov, yselivanov |
| 2018-01-16 19:53:39 | Mordis | set | messageid: <1516132419.05.0.467229070634.issue32574@psf.upfronthosting.co.za> |
| 2018-01-16 19:53:38 | Mordis | link | issue32574 messages |
| 2018-01-16 19:53:38 | Mordis | create | |
|