fix compiler crash on uncachable builtins
authorStefan Behnel <scoder@users.berlios.de>
Thu, 21 Apr 2011 06:18:13 +0000 (08:18 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 21 Apr 2011 06:18:13 +0000 (08:18 +0200)
Cython/Compiler/Symtab.py

index cae9e1ab0e7ff84d82fa6f462540e1a1944ab31f..70e6a002e63e49d7a37935cf2583ac1a8faa13e7 100644 (file)
@@ -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):