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


Groups > comp.lang.python > #59831

RE: Data structure question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.054
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'guys.': 0.09; 'subject:question': 0.10; 'received:172.18.0': 0.16; 'tuple': 0.16; 'values?': 0.16; 'to:name:python-list@python.org': 0.22; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'tuples': 0.31; 'add': 0.35; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:unknown': 0.61; 'containing': 0.69
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=tLeJwtg1FCvAouMblIYY1Z5/U6XdMrtw4y2B9g+QINc= c=1 sm=1 a=AgG5ixNBvo4A:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=olmbwZl-owAUYeM5UiwA:9 a=CjuIK1q_8ugA:10 a=4wcU28USiRwA:10 a=QSdfiLkX8HEA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Data structure question
Thread-Topic Data structure question
Thread-Index Ac7kAEySLKcY6WXVTGCpW9ExahB98AASCS6AAA37o3A=
Date Mon, 18 Nov 2013 03:45:03 +0000
References <59801e3624744664a94df7ce497b41ad@exch.activenetwerx.com> <59801e3624744664a94df7ce497b41ad@exch.activenetwerx.com> <almarsoft.2757459500428886707@news.gmane.org>
In-Reply-To <almarsoft.2757459500428886707@news.gmane.org>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.201]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2821.1384746393.18130.python-list@python.org> (permalink)
Lines 5
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384746393 news.xs4all.nl 15863 [2001:888:2000:d::a6]:34952
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59831

Show key headers only | View raw


> How about two dictionaries, each containing the same tuples for
> values? If you create a tuple first, then add it to both dicts, you
> won't have any space-wasting duplicates.

Thanks guys.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Data structure question "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-11-18 03:45 +0000

csiph-web