[Python-3000] PEP 3108: Standard Library Reorganization

Brett Cannon brett at python.org
Thu Jan 4 20:38:18 CET 2007


On 1/4/07, Barry Warsaw <barry at python.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Jan 4, 2007, at 3:06 AM, BJörn Lindqvist wrote:
>
> > On 1/3/07, Brett Cannon <brett at python.org> wrote:
> >>>> PEP 8 specifies that modules "should have short, lowercase names,
> >>>> without underscores" [#pep-0008]_.
> >>>
> >>> Why does the restriction on underscores exist? Removing that
> >>> restriction would make lowercase-only names easier to use
> >>> (basehttpserver vs. base_http_server).
> >>
> >> I think Guido said he preferred it that way.
> >
> > Or maybe he changed his mind?
> > http://mail.python.org/pipermail/python-3000/2006-December/005234.html
>
> I propose to change PEP 8 in the following way:
>
>      Package and Module Names
>
>        Modules should have short, all-lowercase names.  Underscores
> can be used
>        in the module name if it improves readability.  Python
> packages should
>        also have short, all-lowercase names, although the use of
> underscores is
>        discouraged.


+1 from me.  I would just mention the rule should extends to modules within
packages.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070104/302de0fc/attachment.html 


More information about the Python-3000 mailing list