projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2352daa
)
fix GeneralCallNode
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 29 Mar 2009 18:44:11 +0000
(20:44 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 29 Mar 2009 18:44:11 +0000
(20:44 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 9fc48a647e1160137307a5466f4dea1b75a41695..f464e9feee39978e10c8a4244b92b63bc21f7cdb 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-2596,6
+2596,7
@@
class GeneralCallNode(CallNode):
if self.starstar_arg:
self.starstar_arg = \
self.starstar_arg.coerce_to_pyobject(env)
+ function = self.function
if function.is_name and function.type_entry:
# We are calling an extension type constructor. As long
# as we do not support __new__(), the result type is clear
@@
-5090,7
+5091,7
@@
class PyTypeTestNode(CoercionNode):
def free_temps(self, code):
self.arg.free_temps(code)
-
+
class CoerceToPyTypeNode(CoercionNode):
# This node is used to convert a C data type