[issue36485] Add a way to clear all caches
Ma Lin
report at bugs.python.org
Sun Mar 31 08:39:05 EDT 2019
Ma Lin <malincns at 163.com> added the comment:
> My initial idea was to add a lightweight module cachesreg with two functions: register() and clear_caches().
If it only has two functions, it could be a sub-module sys.cachesreg
Or a lifecycle module, as the name, dedicated to such kind of functions. Register callback functions for memory low, poweroff system, etc.
I don't want lifecycle module, just provide a possibility.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36485>
_______________________________________
More information about the Python-bugs-list
mailing list