projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df36723
)
fix compiler crash
author
Robert Bradshaw
<robertwb@gmail.com>
Sun, 17 Mar 2013 08:11:56 +0000
(
01:11
-0700)
committer
Robert Bradshaw
<robertwb@gmail.com>
Sun, 17 Mar 2013 08:11:56 +0000
(
01:11
-0700)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index
446fe6c
..
7f93f42
100644
(file)
--- 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: