[Python-3000] UserDict revamp

Steven Bethard steven.bethard at gmail.com
Thu Feb 15 16:44:24 CET 2007


On 2/15/07, Guido van Rossum <guido at python.org> wrote:
> Perhaps the most egregious example is MixinDict, which currently
> assumes that keys() is a primitive operation returning a list, and
> builds __iter__() out of that. Obviously a better approach is to turn
> this around. (I'd have thought that ever since 2.2 this would have
> been the better design, but perhaps it was too late then already.)

I asked the same thing back in early 2005:

    http://mail.python.org/pipermail/python-list/2005-January/300042.html

Glad to hear I wasn't too out of my mind. ;-)

On 2/15/07, Eduardo EdCrypt O. Padoan <eopadoan at altavix.com> wrote:
> I would love to spend my weekend looking into this. I already read the
> PEP 3106 and I think I understand it.

Let me know if you need any help with this.

STeVe
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy


More information about the Python-3000 mailing list