1
0
forked from VimPlug/jedi

Fix an issue with global stmts. They caused recursionerrors when used wrong. Fixes #610.

This commit is contained in:
Dave Halter
2016-07-18 19:23:08 +02:00
parent 9eee0d6635
commit 2776af3db5
4 changed files with 44 additions and 20 deletions

View File

@@ -140,7 +140,7 @@ class Evaluator(object):
scopes = f.scopes(search_global)
if is_goto:
return f.filter_name(scopes)
return f.find(scopes, search_global)
return f.find(scopes, attribute_lookup=not search_global)
#@memoize_default(default=[], evaluator_is_first_arg=True)
#@recursion.recursion_decorator