>> >> 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 _______________________________________________ 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