projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b2ac0
)
make sure the optimiser doesn't ignore **kwargs when optimising builtin calls
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 22 Mar 2010 10:03:56 +0000
(11:03 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 22 Mar 2010 10:03:56 +0000
(11:03 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 66be83933f784a32d63981a2a801fdc6f65b7db8..8d5424e377eb2c988388884b43b041df7ae1a995 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-907,6
+907,8
@@
class OptimizeBuiltinCalls(Visitor.EnvTransform):
arg_tuple = node.positional_args
if not isinstance(arg_tuple, ExprNodes.TupleNode):
return node
+ if node.starstar_arg:
+ return node
args = arg_tuple.args
return self._dispatch_to_handler(
node, function, args, node.keyword_args)