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


Groups > comp.lang.python > #45707

Case insensitive dict

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'broken': 0.04; 'inherited': 0.09; 'omit': 0.09; 'dict': 0.16; 'insensitive': 0.16; 'received:172.18.0': 0.16; 'subject:Case': 0.16; 'subject:insensitive': 0.16; 'twisted': 0.16; 'module': 0.19; 'seems': 0.21; 'to:name:python-list@python.org': 0.22; 'work.': 0.31; 'anyone': 0.31; 'class': 0.32; 'thanks!': 0.32; 'implemented': 0.33; 'noticed': 0.34; 'but': 0.35; 'doing': 0.36; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'respect': 0.70
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=+lz5uX4xiInwtrymCIFxsZpC13k2qgqBCqxhxbRs02Y= c=1 sm=1 a=CRTDazI5n6YA:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=LBMK7e7s-sQEPMTKuP4A:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "python-list@python.org" <python-list@python.org>
Subject Case insensitive dict
Thread-Topic Case insensitive dict
Thread-Index AQHOVqC6By3RoHxRYE6Z0PCxH5ipwg==
Date Wed, 22 May 2013 03:59:55 +0000
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.200]
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1952.1369195266.3114.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369195266 news.xs4all.nl 15873 [2001:888:2000:d::a6]:55320
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45707

Show key headers only | View raw


I was doing some work with the ldap module and required a ci dict that was case
insensitive but case preserving. It turned out the cidict class they implemented was
broken with respect to pop, it is inherited and not re implemented to work. Before
I set about re-inventing the wheel, anyone know of a working implementation?

I noticed twisted has one but it seems to omit pop.

Thanks!
jlc

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


Thread

Case insensitive dict "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-05-22 03:59 +0000
  Re: Case insensitive dict Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-22 05:19 +0000

csiph-web