# 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:** 32

<div class="post-metadata">

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

</div>

Another vote from the maintainer of python `ordered-set` package for including `OrderedSet` in `stdlib`. The owner also indicates the implementation in `stdlib` should probably be different than the implementation in that package and that it should derive from new default dict orderedness. She is open to discussing and using some parts of the `ordered-set` package implementation if there is anything of interest.

> <https://github.com/rspeer/ordered-set/issues/89#issuecomment-1289137402>
>
> Hello, I am interested to know if the maintainers of this package would have int…erest in including this functionality in the python standard library. It seems natural for \`OrderedSet\` to sit next to \`OrderedDict\` in the \`collections\` package. There is a discussion on the Python Discussion Forums. It is not clear-cut that it should be added but I wanted to gauge the interest of the folks maintaining the current Python ordered set implementations.
> 
> https://discuss.python.org/t/add-orderedset-to-stdlib/12730/15

---

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