On 1/4/07, Barry Warsaw <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
_______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
