[issue33169] importlib.invalidate_caches() doesn't clear all caches

Brett Cannon report at bugs.python.org
Sat Mar 31 14:07:29 EDT 2018


Brett Cannon <brett at python.org> added the comment:

OK, I will update importlib.machinery.PathFinder.invalidate_caches() to also drop None from sys.path_importer_cache (objects that are not None and do not define invalidate_caches() will be left alone just like they are today). I should hopefully be able to get to this before b4.

----------
assignee:  -> brett.cannon
versions: +Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33169>
_______________________________________


More information about the Python-bugs-list mailing list