News for hackers. Stuff that matters.
Re:Python overtakes JavaScript as most questioned language o... by Scarblac on Saturday April 20, 2019 @11:44AM (#19707124)
Well. Now that dictionaries remember their order in newer Python versions, there is a case to be made that dict(a=1, b=2) is not the same dictionary as dict(b=2, a1). So they should be different dict keys, if they could be dict keys.
Re:Python overtakes JavaScript as most questioned language o... by Nullabillity on Saturday April 20, 2019 @05:45PM (#19709052)

    dict(a=1,b=2) == dict(b=2,a=1)
is True (on 3.7.3). I'm not too keen on introducing a third type of equality on the same type, even if it makes some theoretical sense.