[Python-Dev] Compact ordered set
chris.barker at noaa.gov
Wed Feb 27 16:54:45 EST 2019
On Tue, Feb 26, 2019 at 3:43 PM Barry Warsaw <barry at python.org> wrote:
> The behavior differences between dicts and sets is already surprising to
> many users, so we should be careful not to make the situation worse.
It's a nice to have, but other than the fact that we all used to use a dict
when we really wanted a set before set existed, I'm not sure the connection
is there to a layperson.
A mapping and a set type really don't have much to do with each other other
than implementation -- anyone that isn't familiar with python C code, or
hash tables in general, wouldn't likely have any expectation of them having
anything to do with each other.
Christopher Barker, Ph.D.
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...
More information about the Python-Dev