From da44b3ae3bb6bb1bd5219245c527875dfb9140fb Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 19 Feb 2013 19:21:41 +0000 Subject: [PATCH] oops, disable broken rich compare for now --- dtool/src/interrogate/interfaceMakerPythonNative.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dtool/src/interrogate/interfaceMakerPythonNative.cxx b/dtool/src/interrogate/interfaceMakerPythonNative.cxx index a059b6736f..1523bca559 100755 --- a/dtool/src/interrogate/interfaceMakerPythonNative.cxx +++ b/dtool/src/interrogate/interfaceMakerPythonNative.cxx @@ -1742,9 +1742,9 @@ write_module_class(ostream &out, Object *obj) { out << "#endif\n"; } - if (has_local_richcompare) { - out << " Dtool_" << ClassName << ".As_PyTypeObject().tp_richcompare = &Dtool_RichCompare_" << ClassName << ";\n"; - } +// if (has_local_richcompare) { +// out << " Dtool_" << ClassName << ".As_PyTypeObject().tp_richcompare = &Dtool_RichCompare_" << ClassName << ";\n"; +// } if (has_local_repr) { out << " // __repr__\n";