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


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

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

Started bypython@bdurham.com
First post2014-06-30 15:48 -0400
Last post2014-06-30 15:48 -0400
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 python@bdurham.com - 2014-06-30 15:48 -0400

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

Frompython@bdurham.com
Date2014-06-30 15:48 -0400
SubjectRe: Creating a dict-like class that counts successful and failed key matches
Message-ID<mailman.11350.1404157703.18130.python-list@python.org>
Ethan,

>> Is this specific to the native Dict class (because its implemented in C vs. Python?) or is this behavior more general.

> I /think/ it's only dict, but I haven't played with subclassing lists, tuples, etc.  It's not a C vs Python issue, but a 
'implemented with __private methods' issue.  From what I have seen so
far in the confusion and frustration that decision 
has caused, I do not think it was a good one.  :(

Thanks for the heads-up!

Malcolm

[toc] | [standalone]


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


csiph-web