Python 3.6 dict becomes compact and keywords become ordered
This doesn't feel right.. it's not actually a nice side effect at all.1. it's not in the spec2. you shouldn't rely on it3. python can't figure out if you're relying on it, so no error will be raised4. subtle bugs are sure to be introduced by people who "know" this "feature" exists and use it.Regardless of the cool implementation details, this post shouldn't advertise that "keywords become ordered" and "A nice "side effect" of compact dict is that the dictionary now preserves the insertion order".Ergo... we built this awesome thing that you'd love to use but you can't. Don't use it or you'll be a bad programmer who doesn't read specs!(Just use addict or OrderedDict.)