1 Apr
2015
1 Apr
'15
3:27 p.m.
On 1 April 2015 at 16:03, Guido van Rossum
The elephant in the room is: what are those caches?
A quick scan of the regrtest code mentioned in http://bugs.python.org/issue23839 suggest that the following would be a start: copyreg dispatch tale sys.path_importer_cache zipimport._zip_directory_cache ABC registry cache(s) sys._clear_type_cache() distutils._dir_util._path_created.clear() re.purge() _strptime._regex_cache.clear() urllib.parse.clear_cache() urllib.request.urlcleanup() linecache.clearcache() mimetypes._default_mime_types() filecmp._cache.clear() struct._clearcache() ctypes._reset_cache() That's actually quite a lot of caches... Paul