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.

Author jdemeyer
Recipients jdemeyer, larry, methane, python-dev, rhettinger, vstinner
Date 2019-07-04.11:48:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562240882.8.0.20635759648.issue29312@roundup.psfhosted.org>
In-reply-to
Content
> How can we avoid unpacking dict in case of d1.update(**d2)?

The unpacking is only a problem if you insist on using PyDict_Merge(). It would be perfectly possible to implement dict merging from a tuple+vector instead of from a dict. In that case, there shouldn't be a performance penalty.
History
Date User Action Args
2019-07-04 11:48:02jdemeyersetrecipients: + jdemeyer, rhettinger, vstinner, larry, methane, python-dev
2019-07-04 11:48:02jdemeyersetmessageid: <1562240882.8.0.20635759648.issue29312@roundup.psfhosted.org>
2019-07-04 11:48:02jdemeyerlinkissue29312 messages
2019-07-04 11:48:02jdemeyercreate