Marc-Andre Lemburg added the comment:

I agree with closing this as "won't fix".

It is true that the encoding keyword argument is only useful when passing in 
byte strings or (and that's also where it originated in Python 2: the default 
string type is a byte string), but even in Python 3, this is still one of the 
main uses of the str() constructor.

Note that it's not uncommon to have arguments only be useful for certain types 
of input objects. See e.g. the int() constructor base argument for similar 
example.

----------
nosy: +lemburg

_______________________________________
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