Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From yesterday's bug hunting session: sets (okay, not exactly hash tables) are not ordered data types, so do not use a set for intermediate values when order matters. (My fault - I'm just pointing out that it's not that hard to get Python wrong either.)


Well, sets are the canonical unordered collection, after all.




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

Search: