projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a55d387
)
fix PyBytes_GET_SIZE usage
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 16 Apr 2010 06:43:24 +0000
(08:43 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 16 Apr 2010 06:43:24 +0000
(08:43 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 9fb76af9bee170eb7aa35d07f536da00b3df21f5..4f104a9c117963b52307f0d4d7b6a353a8589b88 100755
(executable)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-6107,7
+6107,7
@@
class CoerceToBooleanNode(CoercionNode):
_special_builtins = {
Builtin.list_type : 'PyList_GET_SIZE',
Builtin.tuple_type : 'PyTuple_GET_SIZE',
- Builtin.bytes_type : 'PyBytes_GET_SIZE',
+ Builtin.bytes_type : '
__Pyx_
PyBytes_GET_SIZE',
Builtin.unicode_type : 'PyUnicode_GET_SIZE',
}