Remove the old typing module support in favor of the new one
This commit is contained in:
1 parent
6539031d5a
commit
d6bdb206c8
4 files changed
+8
-216
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user