1
0
forked from VimPlug/jedi

Remove the old typing module support in favor of the new one

This commit is contained in:
Dave Halter
2018-09-29 01:08:20 +02:00
parent 6539031d5a
commit d6bdb206c8
4 changed files with 8 additions and 216 deletions

View File

@@ -117,8 +117,7 @@ class ExecutionRecursionDetector(object):
module = execution.get_root_context()
from jedi.evaluate.pep0484 import TypingModuleContext
if module == self._evaluator.builtins_module or isinstance(module, TypingModuleContext):
if module == self._evaluator.builtins_module:
# We have control over builtins so we know they are not recursing
# like crazy. Therefore we just let them execute always, because
# they usually just help a lot with getting good results.