From 75c4202187c905c6ed62b0f2392201b6c214ff50 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 18 Jan 2009 19:06:33 +0100 Subject: [PATCH] disable crash report for normal compiler errors --- Cython/Compiler/Visitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Visitor.py b/Cython/Compiler/Visitor.py index 102c5b05..efd8ac97 100644 --- 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.CompilerCrash: + except (Errors.CompileWarning, Errors.CompileError): raise except Exception, e: import sys -- 2.26.2