Bang more on BUIlD_MAP_UNPACK

there are still bugs. Note:

{**{'x': 1}, **{'y': 2}} and
{{'x': 1}, **{'y': 2}}

generate the same Python 3.5+ bytecode.
This commit is contained in:
rocky
2017-05-02 21:55:41 -04:00
parent 91b86ac156
commit 246495febd
6 changed files with 20 additions and 15 deletions

View File

@@ -35,8 +35,6 @@ class PythonParser(GenericASTBuilder):
'exprlist', 'kvlist', 'kwargs', 'come_froms', '_come_from',
# Python < 3
'print_items',
# Python 3.5+
# 'unmap_dict',
# PyPy:
'kvlist_n'])