In latest python version, dict retains the order of insertion. Is there any change in terms of equality. For example, currently the below works. Since insertion order will be important, can this change in future?
I am asking because there is fundamental change - previously == worked because insertion order was not important as it was considered un-ordered. Now since it is ordered, can the meaning of equality change?
d1={'a':1,'b':2}
d2={'b':2,'a':1}
print(d1==d2)
True
l1=['a','b']
l2=['b','a']
print(l1==l2)
False