[Python-ideas] Boolean parameters guidelines

Barry Warsaw barry at python.org
Tue May 10 09:34:56 EDT 2016


On May 10, 2016, at 11:29 PM, Nick Coghlan wrote:

>This is actually a good point - at the moment, PEP 8 is a mix of
>coding style guidelines (i.e. how we use existing APIs) and API design
>guidelines (especially the parts on naming conventions and defining
>what is and isn't a public API).
>
>For code reviews, we want the former, but for PEP discussions we want
>the latter. Perhaps it would make sense to give API design guidelines
>a dedicated home in the developer guide, rather than overloading PEP 8
>with them?

PEP 8 is a *style guide*.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160510/beba4bce/attachment.sig>


More information about the Python-ideas mailing list