This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: dictionary unpacking operator in dict expression
Type: enhancement Stage: resolved
Components: Demos and Tools Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, guoci, python-dev
Priority: normal Keywords: patch

Created on 2016-03-05 22:00 by guoci, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unpack_in_dict.patch guoci, 2016-03-05 22:00 patch review
Messages (3)
msg261226 - (view) Author: Guo Ci Teo (guoci) * Date: 2016-03-05 22:00
The attached patch enables the unparse.py tool to unparse dictionary unpacking operators (**) in a dict expression, for example,

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

, as described in PEP 0448.
msg261255 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-03-06 14:50
New changeset a34428aff42d by Berker Peksag in branch '3.5':
Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
https://hg.python.org/cpython/rev/a34428aff42d

New changeset 1b212e366b66 by Berker Peksag in branch 'default':
Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
https://hg.python.org/cpython/rev/1b212e366b66
msg261256 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-03-06 14:55
Thanks for the patch! Could you please sign the contributor's agreement at https://www.python.org/psf/contrib/contrib-form/ ?
History
Date User Action Args
2022-04-11 14:58:28adminsetgithub: 70676
2016-03-06 14:55:02berker.peksagsetstatus: open -> closed

nosy: + berker.peksag
messages: + msg261256

resolution: fixed
stage: resolved
2016-03-06 14:50:41python-devsetnosy: + python-dev
messages: + msg261255
2016-03-05 22:00:40guocicreate