A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/126557.html below:

[Python-Dev] PEP 8 and function names

[Python-Dev] PEP 8 and function names [Python-Dev] PEP 8 and function namesSkip Montanaro skip at pobox.com
Mon May 27 18:47:15 CEST 2013
> 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.

I think there are a number of reasons for this:

* Despite PEP 8's age, significant chunks of the standard library predate it
* Modules which are thin wrappers around various C libraries tend to
mimic those libraries' names
* Modules which were heavily influenced by similar libraries from
other languages often carry over spelling
* PEP 8 hasn't always been a checklist item for inclusion (not sure it
even is today)
* Sometimes Cerberus was sleeping, and they snuck past him

In any case, once a module makes it into the standard library, the
cost of changing spelling outweighs the benefits of slavish adherence
to PEP 8.

Skip
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4