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 fbidu
Recipients Itayazolay, bar.harel, fbidu, rhettinger
Date 2020-07-11.02:48:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594435686.09.0.578983717308.issue41220@roundup.psfhosted.org>
In-reply-to
Content
Hello all,

I love discussions about caching! While I do see the point of Itayazolay's proposal, I think that it should be on the _caller_ to solve the caching issue, and not on the _callee_ to provide a way to make it happen.

That is, I think that if one wants to use a cache, they should make sure their arguments are hashable and not that we should modify called functions to provide workarounds for those.
History
Date User Action Args
2020-07-11 02:48:06fbidusetrecipients: + fbidu, rhettinger, bar.harel, Itayazolay
2020-07-11 02:48:06fbidusetmessageid: <1594435686.09.0.578983717308.issue41220@roundup.psfhosted.org>
2020-07-11 02:48:06fbidulinkissue41220 messages
2020-07-11 02:48:06fbiducreate