On Friday, September 9, 2016 2:01:08 PM EDT David Mertz wrote: > It feels best to me only to promise order in specific cases like kwargs, > but say nothing (even in 3.6 or 3.7) about the requirement for how dict > itself is implemented.
On Saturday, September 10, 2016 6:39:27 AM EDT Barry Warsaw wrote: > If people start relying on all dicts being ordered now, their code won't > be compatible with both 3.5 and 3.6, and I think it's important to > emphasize this to developers. OK, that makes sense. Putting an explicit note in the documentation that one should not rely on the key order will probably be enough to reduce the concern. Elvis _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com