Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102696 > unrolled thread

Re: Set Operations on Dicts

Started byBen Finney <ben+python@benfinney.id.au>
First post2016-02-09 10:32 +1100
Last post2016-02-09 10:32 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Set Operations on Dicts Ben Finney <ben+python@benfinney.id.au> - 2016-02-09 10:32 +1100

#102696 — Re: Set Operations on Dicts

FromBen Finney <ben+python@benfinney.id.au>
Date2016-02-09 10:32 +1100
SubjectRe: Set Operations on Dicts
Message-ID<mailman.113.1454974389.2317.python-list@python.org>
Marco Kaulea <marco.kaulea@gmail.com> writes:

> In one talk (I think it was [1]) it was described that sets are basically
> dicts without the values.

It seems an unhelpful thing to say about ‘set’, I disagree with that
characterisation.

> Therefor it should be easy to apply set operations on dicts

Yes, that's one reason I disagree; it leads to incorrect inferences like
this :-)

-- 
 \        “I went to court for a parking ticket; I pleaded insanity. I |
  `\   said ‘Your Honour, who in their right mind parks in the passing |
_o__)                                           lane?’” —Steven Wright |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web