projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e31c2d
)
fix stupid crash
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 Apr 2010 13:24:36 +0000
(15:24 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 Apr 2010 13:24:36 +0000
(15:24 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 4c16d1c05a1d9386b281f74a715a3ee3d187538f..9fb76af9bee170eb7aa35d07f536da00b3df21f5 100755
(executable)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-6136,7
+6136,7
@@
class CoerceToBooleanNode(CoercionNode):
return
test_func = self._special_builtins.get(self.arg.type)
if test_func is not None:
- code.putln("%s = (%s != Py_None) & (%s(%s) != 0);" % (
+ code.putln("%s = (%s != Py_None) &
&
(%s(%s) != 0);" % (
self.result(),
self.arg.py_result(),
test_func,