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

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

No files matched your search

+1 -1
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