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 Bartek Biernacki
Recipients Bartek Biernacki, Brunsgaard, gvanrossum, vstinner, yselivanov
Date 2017-03-08.16:21:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488990107.27.0.310146229177.issue26259@psf.upfronthosting.co.za>
In-reply-to
Content
I ran into similar problem with many getters timing out and staying in memory until some put is called. 

I think this may be solved by using a callback on Future which would clean it if it was cancelled. I am presenting the idea on attached poc.

If you think that this is a good idea I can provide a patch.
History
Date User Action Args
2017-03-08 16:21:47Bartek Biernackisetrecipients: + Bartek Biernacki, gvanrossum, vstinner, yselivanov, Brunsgaard
2017-03-08 16:21:47Bartek Biernackisetmessageid: <1488990107.27.0.310146229177.issue26259@psf.upfronthosting.co.za>
2017-03-08 16:21:47Bartek Biernackilinkissue26259 messages
2017-03-08 16:21:47Bartek Biernackicreate