[Python-3000] Why lowercase?

Brett Cannon brett at python.org
Sat Dec 15 02:28:01 CET 2007


On Dec 14, 2007 4:05 PM, Phillip J. Eby <pje at telecommunity.com> 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


More information about the Python-3000 mailing list