On 04/25/2013 03:11 PM, Barry Warsaw wrote:
Whatever random order {}.keys() returns -- and python programmers should be expecting that (or at least smack themselves for forgetting it ;)On Apr 21, 2013, at 09:12 PM, R. David Murray wrote:Regardless of the specific values involved, it is pretty much guaranteed that if anything other than definition order is used we *will* get bug reports/enhancement requests to fix it, on a regular basis. We can choose to live with that, but we should admit that it will will happen :)What's the definition order here? >>> Methods = Enum('Methods', {'set': 8, 'get': 15, 'delete': 16})
-- ~Ethan~ _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com