[Python-ideas] Add orderedset as set(iterable, *, ordered=False) and similarly for frozenset.
Chris Barker
chris.barker at noaa.gov
Thu Feb 5 23:07:00 CET 2015
On Thu, Feb 5, 2015 at 2:04 PM, Amaury Forgeot d'Arc <amauryfa at gmail.com>
wrote:
> And can you leverage the OrderedDict implementation already in the std
>> lib? Or maybe better, the new one in PyPy?
>>
>
> PyPy dicts and sets (the built-in ones) are already ordered by default.
>
Exactly ;-)
-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/108c9126/attachment.html>
More information about the Python-ideas
mailing list