Stefan Behnel <sco...@users.sourceforge.net> added the comment:

When I read the comments and exception texts in the function, it didn't occur 
to me that "char buffer" could have been used as a name for the old Py2 buffer 
interface. From the context, it totally makes sense to me that the function 
(which decodes a byte sequence into a unicode string) complains about not 
getting a "bytes object or char buffer" as input. Admittedly, this might sound 
slightly different when read in Python space.

----------

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

Reply via email to