Commit 31eebced authored by Stefan Behnel's avatar Stefan Behnel

reminder for code fix when general genexprs are supported

parent 5426d3c0
...@@ -1059,6 +1059,12 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): ...@@ -1059,6 +1059,12 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
if node.expr in self.yield_nodes: if node.expr in self.yield_nodes:
self.yield_stat_nodes[node.expr] = node self.yield_stat_nodes[node.expr] = node
def __visit_GeneratorExpressionNode(self, node):
# enable when we support generic generator expressions
#
# everything below this node is out of scope
pass
def _find_single_yield_expression(self, node): def _find_single_yield_expression(self, node):
collector = self.YieldNodeCollector() collector = self.YieldNodeCollector()
collector.visitchildren(node) collector.visitchildren(node)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment