[Python-ideas] PEP: Extended stat_result (First Draft)
Georg Brandl
g.brandl at gmx.net
Mon May 6 21:47:47 CEST 2013
Am 06.05.2013 20:31, schrieb Pieter Nagel:
> 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."
Please: we *do* know PEP 8 around here. It is a good coding style, but its
second section is the most important one of all.
(I saw you quoting PEP 8 text in RFC style with upper-case "SHOULD": this is
usually not the meaning that should be applied here.)
Georg
More information about the Python-ideas
mailing list