[Python-ideas] [Web-SIG] Merge Cookie and cookielib?

Brett Cannon brett at python.org
Wed Feb 6 01:32:16 CET 2008


On Feb 5, 2008 4:11 PM, Leonardo Santagada <santagada at gmail.com> wrote:
>
> On 05/02/2008, at 21:39, Adam Atlas wrote:
> > On 5 Feb 2008, at 18:21, Brett Cannon wrote:
> >> My current idea is the new names cookie.client and cookie.server for
> >> Cookie and cookielib, respectively. While this goes against the goal
> >> of making the new names easier to work with, Cookie has to be renamed
> >> because of its PEP 8 violation. And having cookie and cookielib in
> >> the
> >> stdlib will not help with differentiating between the two.
>
> I like this, but maybe it goes against some notion of a shallow stdlib
> namespace... so maybe cookieclient and cookieserver or something is
> better.
>

No it doesn't go against that idea as it is a single level.

> > Has anyone proposed dropping the -lib suffix on *all* modules that
> > currently use it? It annoys me. It seems arbitrary and redundant.
>
> how would you call httplib? httpclient I guess.
>
> +50 if I could vote.

Any stdlib reorg talk should happen on stdlib-sig. Please take it over
there (and if you do read PEP 3108 and the archives as httplib has
already been handled).

-Brett



More information about the Python-ideas mailing list