Hacker News new | past | comments | ask | show | jobs | submit login

> something changed with dict enumeration order between python 2 and 3

Enumeration order in dict keys was never guaranteed (until 2019), even on 2. So basically that code relied on undocumented cpython behaviour that was strongly advised against, i.e. it was broken already. 3 simply made the brokenness more visible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: