make bint distinguishable from int in debug output
authorStefan Behnel <scoder@users.berlios.de>
Sun, 6 Dec 2009 12:13:03 +0000 (13:13 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 6 Dec 2009 12:13:03 +0000 (13:13 +0100)
Cython/Compiler/PyrexTypes.py

index 264981e6e2a6a8814b9b6a75bf1302d276fbe5dc..ad19dc4dec434bd3233e6faac711254706e39d92 100644 (file)
@@ -812,6 +812,9 @@ class CBIntType(CIntType):
     from_py_function = "__Pyx_PyObject_IsTrue"
     exception_check = 0
 
+    def __repr__(self):
+        return "<CNumericType bint>"
+
 
 class CAnonEnumType(CIntType):