projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6a6af
)
comment fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 24 Apr 2010 18:31:32 +0000
(20:31 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 24 Apr 2010 18:31:32 +0000
(20:31 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 2fde55a526a0295b0cdd202a8cf1ca3a11c886eb..66cbcb5dfd17fdf97e4791f67f8369eca66dea3f 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-2317,8
+2317,8
@@
class DefNode(FuncDefNode):
# the closure instance must be properly ref-counted to
# facilitate generic closure instance deallocation. In
# the case of an argument type error, it's best to just
- #
Py_CLEAR() the already handled references, as this free
s
- #
them
as early as possible.
+ #
DECREF+clear the already handled references, as thi
s
+ #
frees their references
as early as possible.
for arg in self.args:
if arg.type.is_pyobject and arg.entry.in_closure:
code.put_var_xdecref_clear(arg.entry)