[issue41672] imaplib: wrong return type documented
Eric V. Smith
report at bugs.python.org
Thu Sep 3 19:15:21 EDT 2020
Eric V. Smith <eric at trueblade.com> added the comment:
For the case of returning a list of non-tuples, all of my code assumes bytes, so I think changing the docs to say bytes is good. "bytes-like" might be overkill. Unfortunately, I don't know enough to say what encoding is returned: I just assume utf-8, although everything I'm using is probably ascii.
My code doesn't handle any case where a list of tuples is returned, so I can't really comment on that.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41672>
_______________________________________
More information about the Python-bugs-list
mailing list