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 jcea
Recipients jcea
Date 2017-04-24.10:29:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493029770.27.0.722684328954.issue30153@psf.upfronthosting.co.za>
In-reply-to
Content
I think that "functools.lru_cache()" should have the ability to "invalidate" a (possibly cached) value. Something like:

@functools.lru_cache()
def func(param):
  ...

func.invalidate(PARAM) # discard this cached call, or ignore if not cached
History
Date User Action Args
2017-04-24 10:29:30jceasetrecipients: + jcea
2017-04-24 10:29:30jceasetmessageid: <1493029770.27.0.722684328954.issue30153@psf.upfronthosting.co.za>
2017-04-24 10:29:30jcealinkissue30153 messages
2017-04-24 10:29:30jceacreate