New submission from takayuki <takayuki...@star.odn.ne.jp>: 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? ---------- components: None messages: 128482 nosy: takayuki priority: normal severity: normal status: open title: Evaluation order of dictionary display is different from reference manual. versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11205> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com