From: Robert Bradshaw Date: Tue, 7 May 2013 15:01:21 +0000 (-0700) Subject: Undo sorting types by inheritance until we figure out what's up with Sage. X-Git-Tag: 0.19.1~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12d7dbb301851508af7950fbb4307a1d5b2af615;p=platform%2Fupstream%2Fpython-cython.git Undo sorting types by inheritance until we figure out what's up with Sage. --- 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: