[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:11:03 CET 2011


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.

----------
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