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

Steffen Daode Nurpmeso report at bugs.python.org
Thu Feb 24 17:15:38 CET 2011


Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:

So, well, a-ha, i will boot my laptop this evening and (try to) write a patch for normalize_encoding(), which will match the standart conforming LATIN1 and also will continue to support the illegal latin-1 without actually changing the two users PyUnicode_Decode() and PyUnicode_AsEncodedString(), from which i better keep the hands off.  But i'm slow, it may take until tomorrow...

----------

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


More information about the Python-bugs-list mailing list