better debug output
authorStefan Behnel <scoder@users.berlios.de>
Mon, 9 Aug 2010 15:03:39 +0000 (17:03 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Mon, 9 Aug 2010 15:03:39 +0000 (17:03 +0200)
Cython/Compiler/ExprNodes.py

index d9adbcaefaedac61cabad06a8099f8fd09b66fa2..5de7deaf414d4d70c5bc17bd0ec5f15d94137d34 100755 (executable)
@@ -32,7 +32,10 @@ try:
 except NameError:
     from sets import Set as set
 
-class NotConstant(object): pass # just for the name
+class NotConstant(object):
+    def __repr__(self):
+        return "<NOT CONSTANT>"
+
 not_a_constant = NotConstant()
 constant_value_not_set = object()