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:27:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478741242.78.0.95879863336.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.

BTW, if I set maxsize=100000 for typing lru_cache, test_generic_forward_ref crashes in refleak-test mode. Maybe this is another bug...
History
Date User Action Args
2016-11-10 01:27:22yselivanovsetrecipients: + yselivanov, gvanrossum, ned.deily, python-dev, serhiy.storchaka, josh.r, levkivskyi
2016-11-10 01:27:22yselivanovsetmessageid: <1478741242.78.0.95879863336.issue28649@psf.upfronthosting.co.za>
2016-11-10 01:27:22yselivanovlinkissue28649 messages
2016-11-10 01:27:22yselivanovcreate