strange PyLint configuration

Steven Bethard steven.bethard at gmail.com
Fri Jun 1 01:20:27 EDT 2007


Bjoern Schliessmann wrote:
> Eduardo "EdCrypt" O. Padoan wrote:
> 
>> No. Quoting PEP 8:
>> Functions:
>> """
>> mixedCase is allowed only in contexts where that's already the
>>       prevailing style (e.g. threading.py), to retain backwards
>>       compatibility.
>> """
>> Methods and instances:
>> """
>> Use the function naming rules: lowercase with words separated by
>>       underscores as necessary to improve readability.
>> """
> 
> Has this been updated recently? I could've sworn I had read that
> stuff like has_key was "old".

You can check the revision history here:

http://svn.python.org/view/peps/trunk/pep-0008.txt?rev=55405&view=log

Looks to me like camelCase became unacceptable in Revision 1781, back in 
March 2004.

STeVe



More information about the Python-list mailing list