Hello all,<br><br>It would be nice if **kw arguments collected in a function / method signature were collected as an ordered dictionary rather  than ordinary dictionary.<br><br>Main use case, currently (I believe) the odict constructor doesn't guarantee to preserve ordering if created with keyword arguments: <br>
<br>    odict(key=value, key2=value, key3=value)<br><br>My use case - I'd like to preserve the ordering to reproduce exactly the order of arguments for the Mock module representation of the objects are used. Because the order of iterating over arguments isn't the same as they are passed in representations can't be compared in tests reliably across Python versions / implementations.<br>
<br>All the best,<br><br>Michael Foord<br clear="all"><br>-- <br><a href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a><br><br><br>