Undo sorting types by inheritance until we figure out what's up with Sage.
authorRobert Bradshaw <robertwb@gmail.com>
Tue, 7 May 2013 15:01:21 +0000 (08:01 -0700)
committerRobert Bradshaw <robertwb@gmail.com>
Tue, 7 May 2013 15:01:21 +0000 (08:01 -0700)
Cython/Compiler/ModuleNode.py

index 7676993..3a969cd 100644 (file)
@@ -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: