python style guide inconsistencies

Paddy paddy3118 at googlemail.com
Mon Apr 23 11:34:56 EDT 2007


On Apr 22, 8:27 pm, Darren Dale <d... at cornell.edu> wrote:
> I was just searching for some guidance on how to name packages and modules,
> and discovered some inconsistencies on thewww.python.org.http://www.python.org/doc/essays/styleguide.htmlsays "Module names can be
> either MixedCase or lowercase." That page also refers to PEP 8 athttp://www.python.org/dev/peps/pep-0008/, which says "Modules should have
> short, all-lowercase names. ... Python packages should also have short,
> all-lowercase names ...".
>
> Which is most up to date? Is this the right place to point out that one of
> those pages needs to be updated?
>
> Thanks,
> Darren


In addition to the other replies on your direct question, it is also
not a good idea to have modules whose names only differ by case.

- Paddy.




More information about the Python-list mailing list