I was reading Store set items in an orderly manner, on a first-come, first-serve basis and saw:
This shocked me, since I had the impression that this is guaranteed by the language and no longer considered an implementation detail. Much of my code now relies on this.
Searching the net, I found this in the release notes of Python 3.7:
the insertion-order preservation nature of dict objects has been declared to be an official part of the Python language spec.
Following the link, I am not sure whether that’s a correct interpretation of the message from Guido, but I am not a native speaker and I hope, somebody would have challenged that entry in the release notes if it was not factual.