projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cb1da
)
cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 18 Nov 2008 18:57:22 +0000
(19:57 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 18 Nov 2008 18:57:22 +0000
(19:57 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 49f7323a33c2036eb190be4b7730fcc34c1049ae..2b3fcde375978c25b51ac1406a2772e2f57ec0c0 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-97,7
+97,7
@@
class DictIterTransform(Visitor.VisitorTransform):
if len(node.target.args) == 2:
key_target, value_target = node.target.args
else:
- #
FIXME ...
+ #
unusual case that may or may not lead to an error
return node
else:
tuple_target = node.target
@@
-163,7
+163,8
@@
class DictIterTransform(Visitor.VisitorTransform):
pos = dict_obj.pos,
type = PyrexTypes.c_bint_type,
function = ExprNodes.NameNode(
- pos=dict_obj.pos, name=self.PyDict_Next_name,
+ pos = dict_obj.pos,
+ name = self.PyDict_Next_name,
type = self.PyDict_Next_func_type,
entry = self.PyDict_Next_entry),
args = [dict_obj, pos_temp_addr,