Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interest in including OrderedSet in python standard library? #37

Closed
jagerber48 opened this issue Oct 22, 2022 · 3 comments
Closed

Interest in including OrderedSet in python standard library? #37

jagerber48 opened this issue Oct 22, 2022 · 3 comments

Comments

@jagerber48
Copy link

Hello, I am interested to know if the maintainers of this package would have interest 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

@simonpercivall
Copy link
Owner

Hi!

  1. A Cython package wouldn't ever get added to the stdlib;
  2. there are several issues open for this package relating to edge cases in comparisons (to other sets, to other collections);
  3. this library was written before the dict implementation in python was insertion ordered

I do think it would be good to have an orderedset in the stdlib, but this library is probably not a good fit for it, and I'd rather have a new C implementation based on the implementation of dict.

@jagerber48
Copy link
Author

I see, that information and feedback is very helpful, thank you!

@impredicative
Copy link

impredicative commented Nov 27, 2022

  1. This library doesn't even work anymore. It doesn't install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants