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


Groups > comp.lang.python > #73751 > unrolled thread

Re: Creating a dict-like class that counts successful and failed key matches

Started byEthan Furman <ethan@stoneleaf.us>
First post2014-06-30 08:34 -0700
Last post2014-06-30 08:34 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Creating a dict-like class that counts successful and failed key matches Ethan Furman <ethan@stoneleaf.us> - 2014-06-30 08:34 -0700

#73751 — Re: Creating a dict-like class that counts successful and failed key matches

FromEthan Furman <ethan@stoneleaf.us>
Date2014-06-30 08:34 -0700
SubjectRe: Creating a dict-like class that counts successful and failed key matches
Message-ID<mailman.11346.1404145915.18130.python-list@python.org>
On 06/30/2014 07:44 AM, python@bdurham.com wrote:
>
> Nice!!!
>
> I need to study your solution, but at first blush it looks exactly like
> what I wanted to implement.

Keep in mind that dict /will not/ call your overridden methods, so if, for example, you provide your own __getitem__ you 
will also need to provide your own copies of any dict method that calls __getitem__.

--
~Ethan~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web