Message 128482 - Python tracker
Running the following code shows "2 1 4 3", but in reference manual http://docs.python.org/reference/expressions.html#expression-lists the evaluation order described as {expr1: expr2, expr3: expr4} def f(i): print i return i {f(1):f(2), f(3):f(4)} I found some of past discussions about this problem, for example, http://mail.python.org/pipermail/python-dev/2002-November/030461.html http://mail.python.org/pipermail/python-dev/2002-November/030458.html http://bugs.python.org/issue448679 http://svn.python.org/view?view=rev&revision=30148 , but current implementation seems not to reflect these accomplishment. In present, which behaviour is legal?