[Python-Dev] PEP 520: Ordered Class Definition Namespace
INADA Naoki
songofacandy at gmail.com
Mon Jun 20 22:14:39 EDT 2016
>>
>> Finally, it seems someone is working on making all dicts ordered. Does that
>> mean this will soon be obsolete?
>
> Nope. Having an ordered definition namespace by default does not give
> us __definition_order__ for free. Furthermore, the compact dict under
> consideration isn't strictly order-preserving (re-orders for
> deletion).
>
compact ordered dict I proposed is preserves insertion order even some
items are deleted.
http://bugs.python.org/issue27350
Should I post PEP for compact dict? Here is my draft, but I haven't
posted it yet since
my English is much worse than C.
https://www.dropbox.com/s/s85n9b2309k03cq/pep-compact-dict.txt?dl=0
More information about the Python-Dev
mailing list