[Python-ideas] Clear all caches

Serhiy Storchaka storchaka at gmail.com
Wed Apr 1 17:52:08 CEST 2015


On 01.04.15 18:03, Guido van Rossum wrote:
> The elephant in the room is: what are those caches?

More than a dozen of caches are mentioned in Lib/test/regrtest.py. Some 
of these caches even have not public interface. And perhaps this list is 
not complete.

> I'd suggest starting without the level.

Well, then API will be simpler. Then next question: where place these 
functions? The module should be lightweight, so it can be imported in 
any module with a cache without weighting it.




More information about the Python-ideas mailing list