[Python-Dev] Pre-PEP: The "bytes" object

Ron Adam rrr at ronadam.com
Sat Feb 25 01:47:04 CET 2006

Neil Schemenauer wrote:
> Michael Hoffman <hoffman at ebi.ac.uk> wrote:
>> Am I the only one who finds the use of "self" on a classmethod to be
>> incredibly confusing? Can we please follow PEP 8 and use "cls"
>> instead?
> Sorry, using "self" was an oversight.  It should be "cls", IMO.
>   Neil


Why was it decided that the unicode encoding argument should be ignored 
if the first argument is a string?  Wouldn't an exception be better 
rather than give the impression it does something when it doesn't?


More information about the Python-Dev mailing list