Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r84659:341c112b204d
Date: 2016-05-24 17:46 +0200
http://bitbucket.org/pypy/pypy/changeset/341c112b204d/
Log: Mark important locations for unpacking with TODOs
diff --git a/pypy/interpreter/astcompiler/astbuilder.py
b/pypy/interpreter/astcompiler/astbuilder.py
--- a/pypy/interpreter/astcompiler/astbuilder.py
+++ b/pypy/interpreter/astcompiler/astbuilder.py
@@ -554,6 +554,7 @@
break
if arg_type == tokens.DOUBLESTAR:
break
+ #TODO: scan further
if arg_type == syms.vfpdef or arg_type == syms.tfpdef:
n_pos += 1
if arg_type == tokens.EQUAL:
@@ -1193,6 +1194,7 @@
return self.handle_listcomp(second_child)
elif first_child_type == tokens.LBRACE:
maker = atom_node.get_child(1)
+ #TODO: check STAR and DOUBLESTAR
if maker.type == tokens.RBRACE:
return ast.Dict(None, None, atom_node.get_lineno(),
atom_node.get_column())
n_maker_children = maker.num_children()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit