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 yselivanov
Recipients gvanrossum, josh.r, levkivskyi, ned.deily, python-dev, serhiy.storchaka, yselivanov
Date 2016-11-10.01:35:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478741758.15.0.607076267395.issue28649@psf.upfronthosting.co.za>
In-reply-to
Content
>> But why is this so different from the C implementation of lru_cache?

> I don't know.  Maybe C version of lru cache creates a bit less pressure on GC.

Actually test/refleak.py now cleans up typing's lru cache & calls "gc.collect()". It seems that the typing cycles aren't collectable by the GC when Python lru cache is used.
History
Date User Action Args
2016-11-10 01:35:58yselivanovsetrecipients: + yselivanov, gvanrossum, ned.deily, python-dev, serhiy.storchaka, josh.r, levkivskyi
2016-11-10 01:35:58yselivanovsetmessageid: <1478741758.15.0.607076267395.issue28649@psf.upfronthosting.co.za>
2016-11-10 01:35:58yselivanovlinkissue28649 messages
2016-11-10 01:35:57yselivanovcreate