projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ecdb4d
)
output hex numbers for node ids in Node.dump() as in tracebacks etc.
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 25 Nov 2010 22:12:05 +0000
(23:12 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 25 Nov 2010 22:12:05 +0000
(23:12 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index fbadf7f3cfe0541211be8b9e1073aeefac64d412..cbc4533bd639cb09d0973e1fc6f53d631736df01 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-241,7
+241,7
@@
class Node(object):
if encountered is None:
encountered = set()
if id(self) in encountered:
- return "<%s (
%d
) -- already output>" % (self.__class__.__name__, id(self))
+ return "<%s (
0x%x
) -- already output>" % (self.__class__.__name__, id(self))
encountered.add(id(self))
def dump_child(x, level):