[Python-ideas] dictionary constructor should not allow duplicate keys

Chris Angelico rosuav at gmail.com
Wed May 4 11:45:55 EDT 2016


On Thu, May 5, 2016 at 1:27 AM, Kyle Lahnakoski <klahnakoski at mozilla.com> wrote:
> Now, I am lucky because I purchased
> an IDE that highlights those duplicates as errors.  If I had to rely on
> a separate linter...

For the record, an IDE with the capability to highlight this kind of
error *is* a linter. When language discussions result in "let a linter
pick that up", that includes smart editors.

ChrisA


More information about the Python-ideas mailing list