Marc-Andre Lemburg <m...@egenix.com> added the comment: STINNER Victor wrote: > > STINNER Victor <victor.stin...@haypocalc.com> added the comment: > >> r88586: Normalized the encoding names for Latin-1 and UTF-8 to >> 'latin-1' and 'utf-8' in the stdlib. > > Why did you do that? We are trying to find a solution together, and you > change directly the code without any review. Your commit doesn't solve this > issue.
As discussed on python-dev, the stdlib should use Python's default names for encodings and that's what I changed. > Your commit is now useless, can you please revert it? This ticket was mainly discussing use cases in 3rd party applications, not code that we have control over in the stdlib - we can easily fix that and that's what I did with the above checkin. ---------- 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 <rep...@bugs.python.org> <http://bugs.python.org/issue11303> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com