New submission from Dmitry Dvoinikov:

The following line prints different things each time you run it:

python3 -c "print(', '.join({ '1': '2', '3': '4' }.keys()))"

The output is either "1, 3" or "3, 1". Is such indeterministic behavior 
intentional ?

Using Python 3.3.0b1 (default, Aug  1 2012, 06:09:44)

----------
components: Interpreter Core
messages: 167116
nosy: ddvoinikov
priority: normal
severity: normal
status: open
title: Dict items() ordering varies across interpreter invocations
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to