From: Stefan Behnel Date: Sun, 18 Jan 2009 18:06:33 +0000 (+0100) Subject: disable crash report for normal compiler errors X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75c4202187c905c6ed62b0f2392201b6c214ff50;p=cython.git disable crash report for normal compiler errors --- 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