STINNER Victor added the comment: > FYI, the C OrderedDict implementation in #16991 implements its own > doubly-linked list, built around the needs of OrderedDict. I looked into > BSD's queue.h [1], but it ended up simpler to roll my own.
Oh nice, it's probably possible to factorize code and have more unit tests on the implementation. It may be better to discuss this in a separated issue. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com