News for hackers. Stuff that matters.
Re:Python dicts are now ordered by setr on Friday February 07, 2020 @11:12AM (#22267384)
Sure, but you can't safely take everything from a higher version to a lower version in any case; if insertion order became gauranteed due to a bugfix, and wasn't backported, you'd be in the same boat.

The only way to consistently code cross-version is to start with the lowest you plan to support (assuming the higher versions are actually backwards-compatible).

Does any language gaurantee that code is both backwards and forwards compatible?

Re:Python dicts are now ordered by peteradio on Friday February 07, 2020 @11:36AM (#22267681)
Issue seems to be silent incorrect behavior, what happens if you attempt to run python code containing f-strings using an older python version. Does it raise an exception? That's good! What happens now if you write code for 3.7 which takes advantage of the new ordering and someone grabs it from your repo and runs it using 3.2, it would happily give incorrect results and noone is the wiser.
Re:Python dicts are now ordered by visarga on Friday February 07, 2020 @02:07PM (#22269523)
If you expect this situation you can assert the language version.
Re:Python dicts are now ordered by drdaeman on Friday February 07, 2020 @02:25PM (#22269749)
But the whole point is that some developer won’t expect that someone would run their code on an older Python, isn’t it?