projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808ed5c
)
better debug output
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 9 Aug 2010 15:03:39 +0000
(17:03 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 9 Aug 2010 15:03:39 +0000
(17:03 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index d9adbcaefaedac61cabad06a8099f8fd09b66fa2..5de7deaf414d4d70c5bc17bd0ec5f15d94137d34 100755
(executable)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-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()