The insertion-order preserving dicts were implemented in CPython 3.6 but only became part of the language spec in 3.7. Note that some tests in 3.6 (e.g. test_ordered_dict) are checking for this behaviour.
The insertion-order preserving dicts were implemented in CPython 3.6 but only became part of the language spec in 3.7.
Note that some tests in 3.6 (e.g. test_ordered_dict) are checking for this behaviour.