projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8e669
)
disable slice assignments to pointers for now
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 14 Nov 2008 20:06:34 +0000
(21:06 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 14 Nov 2008 20:06:34 +0000
(21:06 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 3f0ff191014bb76f7ef731215e7ad0f149b696df..f9e78cd453d5fb123a302dfbae22e0480fdcae67 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-1831,6
+1831,7
@@
class SliceIndexNode(ExprNode):
array_length = rhs.type.size
self.generate_slice_guard_code(code, array_length)
else:
+ error("Slice assignments from pointers are not yet supported.")
# FIXME: fix the array size according to start/stop
array_length = self.base.type.size
for i in range(array_length):