From 5b5613fa7cb144af71f33a4dd735b5b59eeefef5 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 21 Apr 2011 08:18:13 +0200 Subject: [PATCH] fix compiler crash on uncachable builtins --- Cython/Compiler/Symtab.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index cae9e1ab..70e6a002 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -945,6 +945,7 @@ class ModuleScope(Scope): self.undeclared_cached_builtins.append(entry) else: entry.is_builtin = 1 + entry.name = name return entry def find_module(self, module_name, pos): -- 2.26.2