Fixing tests
Fixing tests
Posted Apr 12, 2012 19:07 UTC (Thu) by man_ls (guest, #15091)In reply to: Fixing tests by dskoll
Parent article: Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3 security release
Yes, that would be a good solution. The performance hit would be suffered by everyone but nice, ordered, predictable output is always a valuable thing, even when outputting a config file. Sigh. Better to bite the bullet and avoid random hash order whenever possible!
On this subject, I have been very surprised by javascript because it seems to output dict keys in alphabetical order. I don't know if it's only the Gecko and WebKit engines or it's a feature of the language though.
