[issue36485] Add a way to clear all caches
Ma Lin
report at bugs.python.org
Sun Mar 31 04:30:59 EDT 2019
Ma Lin <malincns at 163.com> added the comment:
I suggest the documentation be written in more detail.
For example, in __clearcache__'s section, state explicitly that this magic function is for module-level cache, and it will be invoked by sys.clear_caches().
Maybe also introduce the background: some caches may grow unlimitedly, sys.clear_caches() gives the user a chance to empty them.
----------
nosy: +Ma Lin
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36485>
_______________________________________
More information about the Python-bugs-list
mailing list