Jim Carroll <j...@carroll.com> added the comment:

According to the documentation 
(https://docs.python.org/3.7/library/codecs.html#codecs.iterdecode), the first 
parameter is a bytes object to decode (not an iterable of bytes). Which is also 
consistent with it's companion iterencode() which accepts a str object, not an 
iterable of chars.

Seems logical that one should be able to pass the output from iterencode() as 
the direct input to iterdecode() without having to convert, no?

----------

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

Reply via email to