[Python-Dev] PEP 8 and function names

Sébastien Durand se8.and at gmail.com
Sun May 26 11:48:50 CEST 2013


Hi all,

"There should be one-- and preferably only one --obvious way to do it."

We all love this mantra.

But one thing that often confuses people : function naming. The standard
library is kind of inconsistent. Some functions are separated by
underscores and others aren't. It's not intuitive and new pythonistas end
up constantly reading the doc. (Time saving one char typing vs time
guessing function names.)

Would it be a good idea to clarify PEP 8 on this ? I mean for future
libraries.

Regards,

Sébastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130526/966c669b/attachment.html>


More information about the Python-Dev mailing list