[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue36485] Add a way to clear all caches
From:       Ma Lin <report () bugs ! python ! org>
Date:       2019-03-31 12:39:05
Message-ID: 1554035945.45.0.0694277235854.issue36485 () roundup ! psfhosted ! org
[Download RAW message or body]


Ma Lin <malincns@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@bugs.python.org>
<https://bugs.python.org/issue36485>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic