fix crash due to moved utility code (apparently in untested code)
authorStefan Behnel <stefan_ml@behnel.de>
Tue, 17 Jul 2012 04:20:22 +0000 (06:20 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Tue, 17 Jul 2012 04:20:22 +0000 (06:20 +0200)
Cython/Compiler/Nodes.py

index 63d5696..12fb15a 100644 (file)
@@ -6514,7 +6514,7 @@ class FromImportStatNode(StatNode):
             if name == '*':
                 for _, entry in env.entries.items():
                     if not entry.is_type and entry.type.is_extension_type:
-                        env.use_utility_code(ExprNodes.type_test_utility_code)
+                        env.use_utility_code(UtilityCode.load_cached("ExtTypeTest", "ObjectHandling.c"))
                         break
             else:
                 entry =  env.lookup(target.name)