Fix an array lookup issue. list.pop calls work now pretty well and return the right type.
This commit is contained in:
1 parent
d318d3c855
commit
b8a8c4d402
4 files changed
+26
-3
No files matched your search
@@ -146,7 +146,7 @@ class Evaluator(object):
|
||||
@memoize_default(evaluator_is_first_arg=True)
|
||||
def eval_element(self, element):
|
||||
if isinstance(element, iterable.AlreadyEvaluated):
|
||||
return element
|
||||
return list(element)
|
||||
elif isinstance(element, iterable.MergedNodes):
|
||||
return iterable.unite(self.eval_element(e) for e in element)
|
||||
|
||||
|
||||
Reference in new issue
Block a user