[Python-ideas] PEP: Extended stat_result (First Draft)

Pieter Nagel pieter at nagel.co.za
Mon May 6 20:31:02 CEST 2013


On Mon, 2013-05-06 at 21:56 +0400, Oleg Broytman wrote:

>    Yes, but stdlib doesn't follow this style. See, for example, built-in
> functions -- http://docs.python.org/library/functions.html :
> 
> staticmethod() isinstance() basestring() execfile() issubclass() bytearray()
> frozenset() classmethod() getattr() hasattr() memoryview() delattr() setattr()
> 
>    I'm sure this style is codified somewhere, don't know where.

Actually, PEP 8 *is* the coding convention for the stdlib:

"This document gives coding conventions for the Python code comprising
the standard library in the main Python distribution."


-- 
Pieter Nagel





More information about the Python-ideas mailing list