Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
This is a full duplicate of issue19859. Both ideas of using weak references and changing documentation were rejected. ---------- nosy: +serhiy.storchaka resolution: -> duplicate superseder: -> functools.lru_cache keeps objects alive forever _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44310> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com