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

Marc-Andre Lemburg report at bugs.python.org
Sat Feb 26 00:13:29 CET 2011


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Marc-Andre Lemburg wrote:
> 
> Marc-Andre Lemburg <mal at egenix.com> added the comment:
> 
> I guess you could regard the wrong encoding name use as bug - it
> slows down several stdlib modules for no apparent reason.
> 
> If you agree, Raymond, I'll backport the patch.

We might actually backport Alexander's patch as well - for much
the same reason.

----------
title: b'x'.decode('latin1') is much	slower	than	b'x'.decode('latin-1') -> b'x'.decode('latin1') is	much	slower	than	b'x'.decode('latin-1')

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


More information about the Python-bugs-list mailing list