From 12d7dbb301851508af7950fbb4307a1d5b2af615 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 7 May 2013 08:01:21 -0700 Subject: [PATCH] Undo sorting types by inheritance until we figure out what's up with Sage. --- Cython/Compiler/ModuleNode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 7676993..3a969cd 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -458,6 +458,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): return (vtab_list, vtabslot_list) def sort_cdef_classes(self, env): + # TODO(robertwb): This causes an infinite loop in Sage. + return key_func = operator.attrgetter('objstruct_cname') entry_dict = {} for entry in env.c_class_entries: -- 2.7.4