Eric V. Smith added the comment: I think the cache invalidation should be moved to the sys.meta_path level. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15502> _______________________________________