6 comments

[ 2.9 ms ] story [ 20.4 ms ] thread
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.)
Thanks, How makes much more sense. The post title is dumb.

Why is Hackernews news for hackers?

The URL for the post includes "why" (en-why-is-python-ordereddict-ordered), so I suppose the title of the article was updated after the HN post was created. The site's native language is Chinese and I'm guessing the post was translated via automation. In fact, if you run the article through an automated translation service (Google Translate), it reproduces the "Why" title.
^ came here to say exactly this
Wrong title, article has "How Does Python’s OrderedDict Maintain Order?"