projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5e866b
)
fix compiler crash - but not the underlying problem (see comments in #144)
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 10 Apr 2009 07:18:27 +0000
(09:18 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 10 Apr 2009 07:18:27 +0000
(09:18 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index e67f6af2f7e314ed4eba3d6075cefad82f221d91..5ea5cfa495c0ca9f6fe4a3309d175db6a85be92a 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-458,7
+458,7
@@
class CArrayDeclaratorNode(CDeclaratorNode):
size = self.dimension.get_constant_result_code()
try:
size = int(size)
- except
ValueError
:
+ except
(ValueError, TypeError)
:
# runtime constant?
pass
else: