Python OrderedDict with lambda
<p>Can we have an ordered dictionary, with some default value?</p>

<p>As in case of <code>defaultdict</code>, i can define something like:</p>

<p><code>a = collections.defaultdict(lambda:[True,True])</code></p>

<p>Can we have the above <code>lambda</code> functionality, but have elements inserted in the dict such that the order is maintained?</p>