projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5426d3c
)
reminder for code fix when general genexprs are supported
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 08:07:33 +0000
(10:07 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 08:07:33 +0000
(10:07 +0200)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 02a6bd87898b3bbac597bd1028749ecff05c4127..9e661aa6467e60b56104f429ed399b5d8ce9fb56 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-1059,6
+1059,12
@@
class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
if node.expr in self.yield_nodes:
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):
collector = self.YieldNodeCollector()
collector.visitchildren(node)