[issue44310] Document that lru_cache uses hard references

Raymond Hettinger report at bugs.python.org
Mon Jun 14 01:47:35 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:


New changeset fafcfff9262ae9dee03a00006638dfcbcfc23a7b by Raymond Hettinger in branch 'main':
bpo-44310:  Note that lru_cache keep references to both arguments and results (GH-26715)
https://github.com/python/cpython/commit/fafcfff9262ae9dee03a00006638dfcbcfc23a7b


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44310>
_______________________________________


More information about the Python-bugs-list mailing list