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 remi.lapeyre
Recipients Albert.Ferras, Ramchandra Apte, benjamin.peterson, ebfe, gregory.p.smith, jcea, jfine2358, r.david.murray, remi.lapeyre, rhettinger, terry.reedy
Date 2019-03-11.15:29:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552318181.3.0.441186187708.issue16385@roundup.psfhosted.org>
In-reply-to
Content
Guido van Rossum said in https://mail.python.org/pipermail/python-ideas/2019-March/055726.html: "this was an explicit design
decision that I made nearly 30 years ago".

I think the best way to avoid silently accepting such values would be to use @gregory.p.smith to use a function call to create the dictionary since duplicate keyword arguments raise an exception there.

I suggest to close this bug report since it works as expected.
History
Date User Action Args
2019-03-11 15:29:41remi.lapeyresetrecipients: + remi.lapeyre, rhettinger, terry.reedy, gregory.p.smith, jcea, benjamin.peterson, r.david.murray, ebfe, Ramchandra Apte, Albert.Ferras, jfine2358
2019-03-11 15:29:41remi.lapeyresetmessageid: <1552318181.3.0.441186187708.issue16385@roundup.psfhosted.org>
2019-03-11 15:29:41remi.lapeyrelinkissue16385 messages
2019-03-11 15:29:41remi.lapeyrecreate