HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by theonething | Hacker News Reader
Parent
Full thread
theonething
·
Yes, e.g. in Ruby since 1.9, hash order is guaranteed.
View on HN
JodieBenitez
·
Same in Python since 3.6 (2016)
vegai_
·
Although the changes doc[1] states that dicts being ordered is an implementation detail that shouldn't be relied on. Nobody does of course ;)
[1]
https://docs.python.org/3.6/whatsnew/3.6.html#new-dict-imple...
warvariuc
·
As of Python 3.7, this is no longer an implementation detail and instead becomes a language feature.
Reply on news.ycombinator.com