From: Robert Bradshaw Date: Sun, 17 Mar 2013 08:11:56 +0000 (-0700) Subject: fix compiler crash X-Git-Tag: 0.19b1~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c70e7c55c2239f1794c3ebc2962b32911803d1b8;p=platform%2Fupstream%2Fpython-cython.git fix compiler crash --- diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 446fe6c..7f93f42 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -556,6 +556,8 @@ class Scope(object): def declare_inherited_attributes(entry, base_classes): for base_class in base_classes: + if base_class is PyrexTypes.error_type: + continue if base_class.scope is None: error(pos, "Cannot inherit from incomplete type") else: