Title of the article is "How…", not "Why…", and "why" is not discussed. (My understanding is that the "why" is "because the implementation acted that way without an official guarantee, and folks depended on the implementation detail, so it became guaranteed.)
I don't think this is the "why". What you're depicting is what happened in JavaScript. Dictionary keys in Python always had that (to me) annoying property that they preserved insertion order until they don't. I'd frankly much prefer if they'd always be iterated in random order each time they're traversed.
addaon|4 months ago
recursivecaveat|3 months ago
I think the "how/why" thing is just the automatic title de-clickbait-ifer going a little haywire?
DemocracyFTW2|4 months ago
snthpy|3 months ago
Why is Hackernews news for hackers?
more_corn|3 months ago
DemocracyFTW2|4 months ago