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


Groups > comp.lang.python > #93904

Re: Mapping, with sequence as key, wildcard and subsequence matching

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'api': 0.09; 'cc:addr:python-list': 0.09; 'thu,': 0.15; 'subject:Mapping': 0.16; 'subject:key': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'implemented': 0.24; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'fine': 0.28; 'received:google.com': 0.35; 'mapping': 0.35; 'subject:: ': 0.37; 'subject:with': 0.40; 'jul': 0.72
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=p/fj3lg9/PdEMdm1xGX0VqcRqjlJ/2QHb2P/VolgXMg=; b=YSZAEJqiJhhZLaZn5/fNIodxHQWkHTq+OXxyPDcjjJkAzjMMqPiUymNn5XSw/K0nX3 JTIuKMb/tLVtCTifuFlX55Cez0fPtNGw4G5CRYe9KJAnGB97R13r2+8NE52XAlZJQ2fy yzW0s9+xh6eONLSqWQmCOb5NvaHBKS/Z1FaSUYjWNTZBbRquuqVqDUkW5vymInZU5zFE SGgwNUDdUAH2NJ3gX4sUOlFJDK9BPFKaNI4hixVVqWdbvsiWYRv6tSDT+BPrWVCxW3Rz N7+RyBGvXVmOwr9EMHbxSD84937xMhZ0FtM8weKE5LsEvomxyBlGdgikdkEeHdi+xAon R/sw==
X-Received by 10.107.10.11 with SMTP id u11mr203442ioi.72.1437029053410; Wed, 15 Jul 2015 23:44:13 -0700 (PDT)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <85380ovcix.fsf@benfinney.id.au>
References <85k2u0vpis.fsf@benfinney.id.au> <mo7fco$tme$1@ger.gmane.org> <85bnfcve7w.fsf@benfinney.id.au> <CAPTjJmrNVFcT5O9H3EtiSa1rthjkLP2+hdVcRciTr9gmnmD7LA@mail.gmail.com> <85380ovcix.fsf@benfinney.id.au>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Thu, 16 Jul 2015 01:43:54 -0500
X-Google-Sender-Auth iCrzsdTYFyVNLHg_D6u_F4AIFNI
Subject Re: Mapping, with sequence as key, wildcard and subsequence matching
To Ben Finney <ben+python@benfinney.id.au>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.564.1437029061.3674.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437029061 news.xs4all.nl 2835 [2001:888:2000:d::a6]:58691
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93904

Show key headers only | View raw


On Thu, Jul 16, 2015 at 1:31 AM, Ben Finney <ben+python@benfinney.id.au> wrote:
> Fine by me. What is the mapping API that needs to be implemented though?

Have a look at collections.MutableMapping.

-- 
Zach

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


Thread

Re: Mapping, with sequence as key, wildcard and subsequence matching Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-07-16 01:43 -0500

csiph-web