Improve 3.5+ BUILD_MAP_UNPACK...

And add build_tuple_unpack runtime test from a previous commit.

We are far from out of the woods, as there is more to do and
we've uncovered more bugs in handling this.
This commit is contained in:
rocky
2018-04-06 21:34:31 -04:00
parent e9ee671874
commit 68821efdb0
5 changed files with 18 additions and 9 deletions

View File

@@ -144,7 +144,7 @@ class Scanner3(Scanner):
varargs_ops.add(self.opc.CALL_METHOD)
if self.version >= 3.5:
varargs_ops |= set([self.opc.BUILD_SET_UNPACK,
# self.opc.BUILD_MAP_UNPACK, # we will handle this later
self.opc.BUILD_MAP_UNPACK, # we will handle this later
self.opc.BUILD_LIST_UNPACK,
self.opc.BUILD_TUPLE_UNPACK])
if self.version >= 3.6: