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: 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> <85bnfcve7w.fsf@benfinney.id.au> <85380ovcix.fsf@benfinney.id.au> From: Zachary Ware 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 Cc: "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 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: 1437029061 news.xs4all.nl 2835 [2001:888:2000:d::a6]:58691 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93904 On Thu, Jul 16, 2015 at 1:31 AM, Ben Finney wrote: > Fine by me. What is the mapping API that needs to be implemented though? Have a look at collections.MutableMapping. -- Zach