New submission from Graham Klyne: 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. ]] ---------- components: Macintosh messages: 244601 nosy: Graham Klyne, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: dict({'a':'aa'},a='bb') raises segmentation fault on Mac type: crash versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24350> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com