From b2a2f5d6b4ab53254d7a40ccec0c36345b1bef8e Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 14 Mar 2010 13:39:04 +0100 Subject: [PATCH] fix utility code dependency for builtin types --- Cython/Compiler/Symtab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 532be2fd..49c58f1e 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -689,6 +689,7 @@ class BuiltinScope(Scope): var_entry = Entry(python_equiv, python_equiv, py_object_type) var_entry.is_variable = 1 var_entry.is_builtin = 1 + var_entry.utility_code = utility_code entry.as_variable = var_entry return entry @@ -698,6 +699,7 @@ class BuiltinScope(Scope): type.set_scope(CClassScope(name, outer_scope=None, visibility='extern')) self.type_names[name] = 1 entry = self.declare_type(name, type, None, visibility='extern') + entry.utility_code = utility_code var_entry = Entry(name = entry.name, type = self.lookup('type').type, # make sure "type" is the first type declared... -- 2.26.2