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 vstinner
Recipients christian.heimes, corona10, erlendaasland, kj, miss-islington, nascheme, ncoghlan, pablogsal, shihai1991, vstinner
Date 2021-05-28.13:58:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622210326.88.0.91953585505.issue42972@roundup.psfhosted.org>
In-reply-to
Content
I'm not fully satisfied by the implementation of the two LRU types in functools. See the discussion in these two PRs:

https://github.com/python/cpython/pull/26363
https://github.com/python/cpython/pull/26423

The _lru_list_elem doesnt implement the GC protocol for performance reasons:

* https://bugs.python.org/issue32422
* https://github.com/python/cpython/pull/5008/files

But I'm not sure if it's ok that _lru_list_elem doesn't implement the GC protocol: it's disucssion in this issue.
History
Date User Action Args
2021-05-28 13:58:46vstinnersetrecipients: + vstinner, nascheme, ncoghlan, christian.heimes, corona10, pablogsal, miss-islington, shihai1991, erlendaasland, kj
2021-05-28 13:58:46vstinnersetmessageid: <1622210326.88.0.91953585505.issue42972@roundup.psfhosted.org>
2021-05-28 13:58:46vstinnerlinkissue42972 messages
2021-05-28 13:58:46vstinnercreate