STINNER Victor <vstin...@python.org> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com