projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c4202
)
warnings aren't raised, so catching CompileError is enough
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 18 Jan 2009 18:43:54 +0000
(19:43 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 18 Jan 2009 18:43:54 +0000
(19:43 +0100)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index efd8ac97fe2b4a8ad3c97c445a2c74a5d868058f..034a2e67ef2942552efb3863c8601c1f7a46d26e 100644
(file)
--- a/
Cython/Compiler/Visitor.py
+++ b/
Cython/Compiler/Visitor.py
@@
-147,7
+147,7
@@
class TreeVisitor(BasicVisitor):
self.access_path.append((parent, attrname, idx))
try:
result = self.visit(child)
- except
(Errors.CompileWarning, Errors.CompileError)
:
+ except
Errors.CompileError
:
raise
except Exception, e:
import sys