Message337676
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. |
|
Date |
User |
Action |
Args |
2019-03-11 15:29:41 | remi.lapeyre | set | recipients:
+ 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:41 | remi.lapeyre | set | messageid: <1552318181.3.0.441186187708.issue16385@roundup.psfhosted.org> |
2019-03-11 15:29:41 | remi.lapeyre | link | issue16385 messages |
2019-03-11 15:29:41 | remi.lapeyre | create | |
|