from Hacker News

Why is Python's OrderedDict ordered?

by misonic on 10/30/25, 3:13 AM with 3 comments

  • by addaon on 10/30/25, 5:17 AM

    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.)
  • by DemocracyFTW2 on 10/30/25, 7:03 AM

    Wrong title, article has "How Does Python’s OrderedDict Maintain Order?"