title: Override the {...} notation so i get an OrderedDict() instead of a dict()?
body: <blockquote>
    <p>Update: dicts retaining insertion order is guaranteed for Python 3.7+</p>
  </blockquote>
  
  <p>I want to use a .py file like a config file.
  So using the <code>{...}</code> notation I can create a dictionary using strings as keys but the definition order is lost in a standard python dictionary.</p>
  
  <p>My question: is it possible to override the <code>{...}</code> notation so that I get an <code>OrderedDict()</code> instead of a <code>dict()</code>?</p>
  
  <p>I was hoping that simply overriding dict constructor with OrderedDict (<code>dict = OrderedDict</code>) would work, but it doesn't.</p>
  
  <p>Eg:</p>
  
  <pre><code>dict = OrderedDict
  dictname = {
     'B key': 'value1',
     'A key': 'value2',
     'C key': 'value3'
     }
  
  print dictname.items()
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[('B key', 'value1'), ('A key', 'value2'), ('C key', 'value3')]
  </code></pre>