[issue44310] lru_cache memory leak

2021-06-04 Thread Wouter De Borger
Change by Wouter De Borger : -- type: -> resource usage ___ Python tracker <https://bugs.python.org/issue44310> ___ ___ Python-bugs-list mailing list Un

[issue44310] lru_cache memory leak

2021-06-04 Thread Wouter De Borger
New submission from Wouter De Borger : # Problem the functools.lru_cache decorator locks all arguments to the function in memory (inclusing self), causing hard to find memory leaks. # Expected I had assumed that the lru_cache would keep weak-references and that when an object is garbage

[issue39168] Generic type subscription is a huge toll on Python performance

2020-01-13 Thread Wouter De Borger
Change by Wouter De Borger : -- nosy: +Wouter De Borger ___ Python tracker <https://bugs.python.org/issue39168> ___ ___ Python-bugs-list mailing list Unsub