projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2195062
)
error in compile-time attribute access
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Jan 2009 11:23:46 +0000
(12:23 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Jan 2009 11:23:46 +0000
(12:23 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 201fff53b60117ef4f94418540a4c548730bc0ba..ceae7ed9715500a9ffd3c5ed6f8f82850457bce3 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-2618,7
+2618,7
@@
class AttributeNode(ExprNode):
self.error("Invalid attribute name '%s' in compile-time expression"
% attr)
return None
- obj = self.
arg
.compile_time_value(denv)
+ obj = self.
obj
.compile_time_value(denv)
try:
return getattr(obj, attr)
except Exception, e: