This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IMAPlib debug errors
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.9, Python 3.8, Python 3.7, Python 3.6, Python 3.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: iritkatriel, skorpeo
Priority: normal Keywords:

Created on 2020-06-24 13:44 by skorpeo, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg372252 - (view) Author: (skorpeo) Date: 2020-06-24 13:44
This line in imaplib.py inside _dump_ur function:
l = map(lambda x:'%s: "%s"' % (x[0], x[1][0] and '" "'.join(x[1]) or ''), l)

fails because the untagged responses are bytestrings and it expects regular strings.
msg404699 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-21 22:50
This function was rewritten in PR15206 and this line is no longer there.
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85276
2021-10-21 22:50:26iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg404699

resolution: out of date
stage: resolved
2020-06-24 13:44:24skorpeocreate