# Add \`OrderedSet\` to stdlib

**URL:** <https://discuss.python.org/t/add-orderedset-to-stdlib/12730>\
**Category:** Ideas\
**Created:** [December 24, 2021, 2:59pm UTC](https://discuss.python.org/t/add-orderedset-to-stdlib/12730 "2021-12-24T14:59:00Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![pf\_moore](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pf_moore/32/35_2.png) [@pf\_moore](https://discuss.python.org/u/pf_moore)\
**Post date:** [October 24, 2022, 4:55pm UTC](https://discuss.python.org/t/add-orderedset-to-stdlib/12730/33 "2022-10-24T16:55:32Z")

</div>

So, so far, two 3rd party implementations who don’t want to see _their_ code go into the stdlib, but who are in favour of someone else writing a stdlib implementation\[1\]? That’s perfectly fair, but still leaves us with the question of who would write (and maintain) the stdlib implementation.

This feels to me like a borderline case at the moment. No-one is particularly _against_ the idea, but no-one is offering to do the work. I suspect that this will go nowhere unless/until someone writes an implementation.

Maybe at this point the next step should be to create a PR adding `OrderedSet` to `collections`. That might get some core dev attention and maybe a sponsor for a PEP.

* * *

1. Which presumably would mean they could recommend people use the stdlib version rather than theirs in future…

---

_[View the full topic](https://discuss.python.org/t/add-orderedset-to-stdlib/12730)._
