Marc-Andre Lemburg <m...@egenix.com> added the comment:

Alexander Belopolsky wrote:
> 
> New submission from Alexander Belopolsky <belopol...@users.sourceforge.net>:
> 
> In Python 3.x default encoding is always utf-8, but encode()/decode() still 
> try to look it up.  Attached patch eliminates a call to normalize_encoding 
> and several strcmp() calls.

+1.

Please add a comment explaining why this can be done.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11313>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to