[Python-ideas] Add orderedset as set(iterable, *, ordered=False) and similarly for frozenset.

Chris Barker chris.barker at noaa.gov
Thu Feb 5 23:02:01 CET 2015


Interesting -- somehow this message came through on the google group mirror
of  python-ideas only -- so replying to it barfed.

He's my reply again, with the proper address this time:

On Wed, Feb 4, 2015 at 1:14 PM, Neil Girdhar <mistersheik at gmail.com> wrote:

> Hundreds of people want an orderedset (
> http://stackoverflow.com/questions/1653970/does-python-have-an-ordered-set)
> and yet the ordered sets that are in PyPI (oset, ordered-set) are
> incomplete.  Please consider adding an ordered set that has *all* of the
> same functionality as set.
>


> (If anyone wants to add a complete ordered set to PyPI that would also be
> very useful for me!)
>

It seems like a good way to go here is to contribute to one of the projects
already on PyPI -- and once you like it, propose that it be added to the
standard library.

And can you leverage the OrderedDict implementation already in the std lib?
Or maybe better, the new one in PyPy?

-Chris



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150205/91971b40/attachment.html>


More information about the Python-ideas mailing list