projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed87ff
)
another Py3 fix for the compiled modules
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 26 Nov 2010 15:20:18 +0000
(16:20 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 26 Nov 2010 15:20:18 +0000
(16:20 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 83883bd792b43dcac80eb37b7beb984b408bbe9e..4fc73e89150a86c9eca789a02159b94292d3930f 100755
(executable)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-3623,7
+3623,7
@@
class AttributeNode(ExprNode):
interned_attr_cname = code.intern_identifier(self.attribute)
self.obj.generate_evaluation_code(code)
if self.is_py_attr or (isinstance(self.entry.scope, Symtab.PropertyScope)
- and
self.entry.scope.entries.has_key(u'__del__')
):
+ and
u'__del__' in self.entry.scope.entries
):
code.put_error_if_neg(self.pos,
'PyObject_DelAttr(%s, %s)' % (
self.obj.py_result(),