Y
Hacker News
new
|
ask
|
show
|
jobs
by
thro_away_n
2687 days ago
What's the best way to write code that relies on this deterministic order and prevent it from running incorrectly with older python versions?
1 comments
b_tterc_p
2687 days ago
Import collections.OrderedDict as you would have done beforehand. There are still some differences between them.
(Dicts in 3.7 and ordered dicts)
https://stackoverflow.com/questions/50872498/will-ordereddic...
link
(Dicts in 3.7 and ordered dicts)
https://stackoverflow.com/questions/50872498/will-ordereddic...