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 Graham Klyne
Recipients Graham Klyne, ned.deily, ronaldoussoren
Date 2015-06-01.16:33:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433176387.97.0.111097599452.issue24350@psf.upfronthosting.co.za>
In-reply-to
Content
conina:~ graham$ python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> dict({'a':'aa'},b='bb')
{'a': 'aa', 'b': 'bb'}
>>> dict({'a':'aa'},a='bb')
Segmentation fault: 11
conina:~ graham$



From the docs:
[[
If keyword arguments are given, the keyword arguments and their values are added to the dictionary created from the positional argument. If a key being added is already present, the value from the keyword argument replaces the value from the positional argument.
]]
History
Date User Action Args
2015-06-01 16:33:08Graham Klynesetrecipients: + Graham Klyne, ronaldoussoren, ned.deily
2015-06-01 16:33:07Graham Klynesetmessageid: <1433176387.97.0.111097599452.issue24350@psf.upfronthosting.co.za>
2015-06-01 16:33:07Graham Klynelinkissue24350 messages
2015-06-01 16:33:07Graham Klynecreate