Issue 26489: dictionary unpacking operator in dict expression (original) (raw)

Issue26489

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/70676

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:28 admin set github: 70676
2016-03-06 14:55:02 berker.peksag set status: open -> closednosy: + berker.peksagmessages: + resolution: fixedstage: resolved
2016-03-06 14:50:41 python-dev set nosy: + python-devmessages: +
2016-03-05 22:00:40 guoci create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements