[Python-3000] PEP 3108: Standard Library Reorganization

Barry Warsaw barry at python.org
Thu Jan 4 14:08:44 CET 2007


-----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.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iQCVAwUBRZz8XHEjvBPtnXfVAQIUmQQAskVOciDaEabVZMhOg8dzi2gN6+h2DKsc
wVsP2QA6RcHB9vVOQKWBXoJcSWT1pqwBbDHvNKKxH0CQohf+HapOCzU/67ZrJaiG
G60MXF/I9YBkBPfSGi1iaJIbWzSUd8SwCDGxnIEczzLABcvO1x5Y10eX2iSSTTtI
S2VIgbctExQ=
=ptKu
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list