projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66bbffd
)
add safety fix for method dispatch visitor
author
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 22 Feb 2013 17:02:07 +0000
(18:02 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 22 Feb 2013 17:02:07 +0000
(18:02 +0100)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index
d17dfab
..
d46853a
100644
(file)
--- a/
Cython/Compiler/Visitor.py
+++ b/
Cython/Compiler/Visitor.py
@@
-493,6
+493,8
@@
class MethodDispatcherTransform(EnvTransform):
return self._dispatch_to_handler(node, function, args, None)
def visit_PrimaryCmpNode(self, node):
+ if node.cascade:
+ return node # not currently handled below
return self._visit_binop_node(node)
def visit_BinopNode(self, node):