title: Is the key order the same for OrderedDict and dict?
body: <p><code>dict</code> keeps insertion order since Python 3.6 (see <a href="https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6">this</a>).</p>
  <p><code>OrderedDict</code> was developed just for this purpose (before Python 3.6).</p>
  <p>Since Python 3.6, is the key order always the same for <code>dict</code> or <code>OrderedDict</code>?</p>
  <p>I wonder whether I can do this in my code and have always the same behavior (except of equality, and some extended methods in <code>OrderedDict</code>) but more efficiently:</p>
  <pre><code>if sys.version_info[:2] &gt;= (3, 6):
    OrderedDict = dict
  else:
    from collections import OrderedDict 
  </code></pre>
  <p>Or phrased differently, for Python &gt;=3.6, is there any reason to use <code>OrderedDict</code>?</p>