Actually use the fast_parser setting again

This commit is contained in:
Dave Halter
2018-07-05 21:31:03 +02:00
parent 37a40d53a8
commit a59e5a016f
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -500,7 +500,8 @@ def _load_module(evaluator, path=None, code=None, sys_path=None,
if path is not None and path.endswith(('.py', '.zip', '.egg')):
module_node = evaluator.parse(
code=code, path=path, cache=True, diff_cache=True,
code=code, path=path, cache=True,
diff_cache=settings.fast_parser,
cache_path=settings.cache_directory)
from jedi.evaluate.context import ModuleContext