[issue11313] Speed up default encode()/decode()
Alexander Belopolsky
report at bugs.python.org
Sun Nov 4 03:13:41 CET 2012
Alexander Belopolsky added the comment:
I don't think a comment explaining that default encoding is utf-8 in python 3.x will improve readability of this code.
if (encoding == NULL)
return PyUnicode_DecodeUTF8(s, size, errors);
seems quite self-explanatory.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11313>
_______________________________________
More information about the Python-bugs-list
mailing list