[Chicago] order of keyword arguments
igorsyl at gmail.com
Wed Feb 4 19:07:08 CET 2009
Is there a way to obtain the order of keyword arguments in this example:
The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', 1), ('A',
Since dictionaries do not know about ordering, I can't obtain the order of
keyword arguments by simply looking into kargs.
Perhaps there is a way to introspect the function stack to get a hold of the
order of the arguments. Does anyone know if this is possible?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago