projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198a902
)
crash work-around
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 16 Nov 2008 21:40:36 +0000
(22:40 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 16 Nov 2008 21:40:36 +0000
(22:40 +0100)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index 491f467bc518e1f01df2fd758e16dfc35e45e843..fd1d516ff1c89b43643444b36f7702e12b61f323 100644
(file)
--- a/
Cython/Compiler/Visitor.py
+++ b/
Cython/Compiler/Visitor.py
@@
-33,7
+33,7
@@
class BasicVisitor(object):
pass
else:
print type(self), type(obj)
- if hasattr(self, 'access_path'):
+ if hasattr(self, 'access_path')
and self.access_path
:
print self.access_path
print self.access_path[-1][0].pos
print self.access_path[-1][0].__dict__