On Thu, Jul 9, 2020 at 10:29 AM Stestagg <stestagg@gmail.com> wrote:
The idea that there are future, unspecified changes to dicts() that may or may not be hampered by allowing indexing sounds like FUD to me, unless there are concrete references?

IIRC, first, dicts started preserving order as an implementation detail (implementation borrowed from PyPy?). Then there was a discussion about whether it should be declared that it was a feature that could be counted on -- and it was decided that yes, it was.

So yes -- we can count on it, and so don't be worried about a future re-implementation.


Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython