Serhiy Storchaka added the comment:

This is not a bug, str accepts the encoding argument in Python 3. And in 
contrast to the decode method it works with arbitrary byte-like objects (i.e. 
array.array).

----------
nosy: +serhiy.storchaka

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

Reply via email to