Conceivably. I know I've had cases where this would be helpful. (But
on the other hand, it's not *that* hard to write your own persistent
cache for your specific use case if you need it).

I think this is a case where someone should just create a PR and
submit it. No need for a big debate, the core developer who reviews
the PR can make a decision (or suggest further discussion if the PR
exposes complexities that aren't immediately apparent).

Paul

On Tue, 24 May 2022 at 20:06, Neil Girdhar <[email protected]> wrote:
>
> Would it be desirable to save the state of functools.cache between program 
> executions?  For example, by providing cache_state property on the cache that 
> is pickle-able._______________________________________________
> Python-ideas mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at 
> https://mail.python.org/archives/list/[email protected]/message/C6ZD3N5NP2VVR73SVDOV6NTTZLIO3AJX/
> Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/IA2UR3N3EE75T6KRNI7CBAY547S67MGE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to