Re: [Python-3000] [stdlib-sig] PEP 3108 - stdlib reorg/cleanup On Tue, Apr 29, 2008 at 11:33 PM, Joe Smith  wrote:
>
>  "Brett Cannon"  wrote in message
> news:bbaeab100804291344g1ca48af9s3b5bbdacf516b8d7@mail.gmail.com...
>
>
>
> > On Tue, Apr 29, 2008 at 2:46 AM, Raymond Hettinger  wrote:
> >
> > >
> > > > * UserList/UserString [done: 3.0]
> > > >
> > >
> > >  Note that these were updated and moved to the collections module in
> Py3.0.
> > >
> > >
> >
> > Noted.
> >
> >
> > >
> > >
> > > > anydbm             dbm.tools [1]_
> > > > whichdb            dbm.tools [1]_
> > > >
> > >
> > >  Were there any better naming suggestions than dbm.tools?  The original
> > > names seem much more informative.
> > >
> > >
> >
> > But way too much overhead for two modules that only contained one
> > useful function each. As Nick said, if you don't know DB stuff then I
> > don't see any loss of information.
> >
> > If you can come up with a better name I am open to suggestions, but
> > the module merge will happen.
> >
>
>  Is there a problem having the functions be just dbm.open() and
> dmb.whichdb()? As a user the latter one seems espeically logical, as it is a
> tool to help me select which "submodule" I want to use.

There is a general dislike in putting code in a package's __init__
module. Personally I am fine with doing that, but I tried not to do
that with the reorg. If people speak up in support of this then it can
happen.

-Brett
_______________________________________________
Python-3000 mailing list
smsbmo-9552@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: http://mail.python.org/mailman/options/python-3000/python-3000%40tangomu.com


