1
0
forked from VimPlug/jedi

Disable the star import cache.

This commit is contained in:
Dave Halter
2015-04-26 00:02:47 +02:00
parent 06d134a7c1
commit 0203461980
4 changed files with 21 additions and 6 deletions

View File

@@ -717,7 +717,10 @@ class ModuleWrapper(use_metaclass(CachedMetaClass, pr.Module, Wrapper)):
yield dict((str(n), [GlobalName(n)]) for n in self.base.global_names)
yield self._sub_modules_dict()
@cache_star_import
# I'm not sure if the star import cache is really that effective anymore
# with all the other really fast import caches. Recheck. Also we would need
# to push the star imports into Evaluator.modules, if we reenable this.
#@cache_star_import
@memoize_default([])
def star_imports(self):
modules = []