[Python-Dev] [Python-checkins] cpython (3.2): Avoid codec spelling issues by just using the utf-8 default.

Raymond Hettinger raymond.hettinger at gmail.com
Thu May 5 22:55:07 CEST 2011


On May 5, 2011, at 11:41 AM, Benjamin Peterson wrote:

> 2011/5/5 raymond.hettinger <python-checkins at python.org>:
>> http://hg.python.org/cpython/rev/1a56775c6e54
>> changeset:   69857:1a56775c6e54
>> branch:      3.2
>> parent:      69855:97a4855202b8
>> user:        Raymond Hettinger <python at rcn.com>
>> date:        Thu May 05 11:35:50 2011 -0700
>> summary:
>>  Avoid codec spelling issues by just using the utf-8 default.
> 
> Out of curiosity, what is the issue?

IIRC, the performance depended on how your spelled-it.
I believe that is why the spelling got changed in Py3.3.
Either way, the code is simpler by just using the default.


Raymond



More information about the Python-Dev mailing list