[issue26555] string.format(bytes) raise warning
Marco Sulla
report at bugs.python.org
Mon Mar 14 09:19:30 EDT 2016
Marco Sulla 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, and if something goes wrong raise an error (or try str()). More simple to use and robust at the same time.
My 2 cents.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26555>
_______________________________________
More information about the Python-bugs-list
mailing list