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 rhettinger
Recipients Wouter De Borger2, cryvate, kj, miss-islington, nanjekyejoannah, pablogsal, python-dev, rhettinger, serhiy.storchaka
Date 2021-06-17.20:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623960870.51.0.740371982293.issue44310@roundup.psfhosted.org>
In-reply-to
Content
> if you are creating instances and calling this method 
> all the time, will lead to an infinite memory leak.

Your words aren't making any sense to me.  The default 
lru_cache will never hold more than maxsize entries.
The default maxsize is 128.  How is that "infinite"?
History
Date User Action Args
2021-06-17 20:14:30rhettingersetrecipients: + rhettinger, python-dev, serhiy.storchaka, cryvate, pablogsal, miss-islington, nanjekyejoannah, Wouter De Borger2, kj
2021-06-17 20:14:30rhettingersetmessageid: <1623960870.51.0.740371982293.issue44310@roundup.psfhosted.org>
2021-06-17 20:14:30rhettingerlinkissue44310 messages
2021-06-17 20:14:30rhettingercreate