Marc-Andre Lemburg <[email protected]> added the comment: Alexander Belopolsky wrote: > > New submission from Alexander Belopolsky <[email protected]>: > > 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 <[email protected]> <http://bugs.python.org/issue11313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
