Eric V. Smith added the comment:

I agree with deprecating (in the documentation) but never removing the encoding 
argument to str() in Python 3. .decode() is the better way to convert a 
bytes-like object to a str.

Every change proposed here would be an enhancement in 2.7, and we are not 
implementing enhancements there.

----------
versions: +Python 3.6 -Python 2.7, Python 3.4

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

Reply via email to