static analysis is now able to tell the difference between NameError/AttributeError
This commit is contained in:
1 parent
7632a7d120
commit
9bcc4f8fd2
3 files changed
+7
-5
No files matched your search
@@ -108,7 +108,7 @@ class Evaluator(object):
|
||||
scopes = f.scopes(search_global)
|
||||
if is_goto:
|
||||
return f.filter_name(scopes)
|
||||
return f.find(scopes, resolve_decorator)
|
||||
return f.find(scopes, resolve_decorator, search_global)
|
||||
|
||||
@memoize_default(default=[], evaluator_is_first_arg=True)
|
||||
@recursion.recursion_decorator
|
||||
|
||||
Reference in new issue
Block a user