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


Groups > comp.lang.python > #93908

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

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Mapping, with sequence as key, wildcard and subsequence matching
Date 2015-07-16 17:11 +1000
References (1 earlier) <mo7fco$tme$1@ger.gmane.org> <85bnfcve7w.fsf@benfinney.id.au> <CAPTjJmrNVFcT5O9H3EtiSa1rthjkLP2+hdVcRciTr9gmnmD7LA@mail.gmail.com> <85380ovcix.fsf@benfinney.id.au> <CAKJDb-PhFV48MDYjsn4Gf7REY8vkkcTb_9_fKQ0zDnSY6a0_dw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.567.1437030905.3674.python-list@python.org> (permalink)

Show all headers | View raw


Zachary Ware <zachary.ware+pylist@gmail.com> writes:

> 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.

Thank you, that's great! I hadn't realised the ‘collections’ module had
such comprehensive coverage of Python built-in type APIs.

Now to focus back on the “existing debugged implementation” part :-)

-- 
 \       “Nothing is so common as to imitate one's enemies, and to use |
  `\           their weapons.” —Voltaire, _Dictionnaire Philosophique_ |
_o__)                                                                  |
Ben Finney

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


Thread

Re: Mapping, with sequence as key, wildcard and subsequence matching Ben Finney <ben+python@benfinney.id.au> - 2015-07-16 17:11 +1000

csiph-web