[issue26555] string.format(bytes) raise warning

STINNER Victor report at bugs.python.org
Mon Mar 14 09:20:39 EDT 2016


STINNER Victor added the comment:

>> Python 3 doesn't guess the encoding of byte strings anymore

> And I agree, but I think format minilanguage could convert it by default to utf8, ..

Using utf8 means guessing the encoding of a byte string. Python 3 doesn't do that anymore, there is no more exception.

----------

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


More information about the Python-bugs-list mailing list