[issue38482] BUG in codecs.BufferedIncrementalDecoder
Jim Carroll
report at bugs.python.org
Tue Oct 15 19:17:59 EDT 2019
Jim Carroll <jim at carroll.com> added the comment:
I understand.
btw; I did a deep dive on cpython codebase, and the only references to codecs.iterencode()/iterdecode() is in ./Lib/tests/test_codecs.py. I suspect functions are not used by many people.
The patch I proposed was a three line change that would allow passing either an int or bytes...not sure if that sways any opinions on this topic.
If we decide to just stick with existing functionality, a small clarification to the docs might be in order?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38482>
_______________________________________
More information about the Python-bugs-list
mailing list