Possible Duplicate:
Python dictionary, keep keys/values in same order as declared
If I have in a particular program two different dictionaries with the same keys (but different values), will .keys() be in the same order? I made a few tests and it seems to be the case, but without knowing are how the internals of the dict I am not sure if this is guaranteed.
Thanks,