[New-bugs-announce] [issue41104] IMAPlib debug errors

skorpeo report at bugs.python.org
Wed Jun 24 09:44:24 EDT 2020

New submission from skorpeo <skorpeo11 at gmail.com>:

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.

components: Library (Lib)
messages: 372252
nosy: skorpeo
priority: normal
severity: normal
status: open
title: IMAPlib debug errors
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list