1
0
forked from VimPlug/jedi

Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116

This commit is contained in:
Dave Halter
2019-06-12 10:00:45 +02:00
parent ed092e6da7
commit 097b073d20
3 changed files with 7 additions and 34 deletions
-6
View File
@@ -115,9 +115,6 @@ class Evaluator(object):
self.is_analysis = False
self.project = project
self.access_cache = {}
# This setting is only temporary to limit the work we have to do with
# tensorflow and others.
self.infer_enabled = True
self.reset_recursion_limitations()
self.allow_different_encoding = True
@@ -165,9 +162,6 @@ class Evaluator(object):
return self.project._get_sys_path(self, environment=self.environment, **kwargs)
def eval_element(self, context, element):
if not self.infer_enabled:
return NO_CONTEXTS
if isinstance(context, CompForContext):
return eval_node(context, element)