Hi Everyone,<br><br>Is there a way to obtain the order of keyword arguments in this example:<br><br>def foo(**kargs):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print kargs.items()<br><br>The call foo(A=0, B=1)  could print (('A', 0), ('B', 1)) or (('B', 1), ('A', 0)).<br>
<br>Since dictionaries do not know about ordering, I can&#39;t obtain the order of keyword arguments by simply looking into kargs.<br>Perhaps there is a way to introspect the function stack to get a hold of the order of the arguments.&nbsp; Does anyone know if this is possible?<br>
<br>Thanks!<br>Igor<br><br>