On Dec 14, 2007 4:05 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 12:46 PM 12/15/2007 +1300, Greg Ewing wrote:
> >Phillip J. Eby wrote:
> > > Er, no, its functionality *isn't* replaced by subclassable dict,
> > > since subclassable dict does stuff you can't override (e.g. copy()
> > > doesn't return a subclass instance).
> >
> >But you could override copy() in your dict subclass.
>
> Or you could just use UserDict (or the DictMixin classes) and save
> yourself the trouble.
>
> Now, if there are replacements that let you do the same stuff (e.g.
> delegate to a '.data' member), then great.  Otherwise, why should
> everybody duplicate the same functionality over again, when there's a
> nice stable implementation?
>
> Or is the idea that these things should get spun off into PyPI
> packages, a la bsddb185?

As of right now the User* modules are only slated for a rename.  I can
probably stand a rewrite, but I am not planning to push for their
removal as at least the mixin classes have use still.

-Brett
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to