Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'difference,': 0.09; 'cc:addr:python-list': 0.11; 'dictionaries': 0.16; 'subject:dictionaries': 0.16; 'symmetric': 0.16; 'values?': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'wonder': 0.29; 'sets': 0.30; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'operations': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'how': 0.40; 'such': 0.63; 'to:addr:gmail.com': 0.65; 'union,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=55Y/ddkkVwbGzc2bMgSgxR3J+z78o7RhKhAAXzqbN/I=; b=egNvBokEWvyVFmFaToYZRZVBXorgsWYt/NrbmAvf1+J75o6QwlAVMJQc1Bl/zsKNhb uyhhhP+SzudPIODPDrLjaW/tb3yYDIPwEVGFD/kYuBAopDb418Q1ps+aJ4oPr2Cwyf0h 51qjhkLQim2usZPFzhHTVd8xq8xhWCfsoU+kMcmNn9RMvN8Iyz7Ll2mta5+L3cTjZ+4c WQqFtNTzH9bELw5bQcbz9rnNSt5kF3CJzgQroyEN4FK6zgs73nk3OGwO7ylWeOiUQLFC 2Us3EoJyRl+/szcviKk2WMQBgF6TVh+rmmQcCOhl/ff4n5Z6BDEBUW+lzoNvncMMScFS cC7w== X-Received: by 10.180.105.41 with SMTP id gj9mr1821283wib.28.1393360691123; Tue, 25 Feb 2014 12:38:11 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Nick Timkovich Date: Tue, 25 Feb 2014 14:37:51 -0600 Subject: Re: intersection, union, difference, symmetric difference for dictionaries To: mauro Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393360698 news.xs4all.nl 2868 [2001:888:2000:d::a6]:38901 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67055 On Tue, Feb 25, 2014 at 2:32 PM, mauro wrote: > > So I wonder why operations such us intersection, union, difference, > symmetric difference that are available for sets and are not available > for dictionaries without going via key dictviews. How would the set operations apply to the dictionary values?