[issue11303] b'x'.decode('latin1') is much slower than b'x'.decode('latin-1')

STINNER Victor report at bugs.python.org
Sat Feb 26 02:31:25 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> For other spellings like "utf8" or "latin1", I wonder 
> if it would be useful to emit a warning/suggestion to use 
> the standard spelling.

Why do you want to emit a warning? utf8 is now as fast as utf-8.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11303>
_______________________________________


More information about the Python-bugs-list mailing list