[Python-3000] Will standard library modules comply with PEP 8?
Guido van Rossum
guido at python.org
Mon Aug 27 22:05:13 CEST 2007
On 8/27/07, Christian Heimes <lists at cheimes.de> wrote:
> Dennis Brakhane wrote:
> > I'd like to ask if the modules in the standard library will comply
> > with PEP 8. I've always found it weird that - in the logging module,
> > for example - I have to get the logger via getLogger instead of
> > get_logger. I understand that the logging module is older than PEP 8
> > and therefore couldn't be changed. So if there's a time to "fix"
> > logging, it'd probably be now.
> If I were in the position to decide I would rather change the PEP than
> the logging module. I prefer Zope 3 style camel case names for public
> attributes and methods
> (http://wiki.zope.org/zope3/ZopePythonNamingConventions point 3) over
> underscore names. I like to see the camel case style for public names as
> an alternative in PEP 8. I find it easier to read and less to type. But
> again it is just my personal and subjective opinion.
Let's not start another bikeshed color debate. The PEP has been
discussed, discussed again, and accepted.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000