Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAPlib debug errors #85276

Closed
skorpeo mannequin opened this issue Jun 24, 2020 · 2 comments
Closed

IMAPlib debug errors #85276

skorpeo mannequin opened this issue Jun 24, 2020 · 2 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@skorpeo
Copy link
Mannequin

skorpeo mannequin commented Jun 24, 2020

BPO 41104
Nosy @iritkatriel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-21.22:50:26.715>
created_at = <Date 2020-06-24.13:44:24.413>
labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
title = 'IMAPlib debug errors'
updated_at = <Date 2021-10-21.22:50:26.713>
user = 'https://bugs.python.org/skorpeo'

bugs.python.org fields:

activity = <Date 2021-10-21.22:50:26.713>
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-21.22:50:26.715>
closer = 'iritkatriel'
components = ['Library (Lib)']
creation = <Date 2020-06-24.13:44:24.413>
creator = 'skorpeo'
dependencies = []
files = []
hgrepos = []
issue_num = 41104
keywords = []
message_count = 2.0
messages = ['372252', '404699']
nosy_count = 2.0
nosy_names = ['skorpeo', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41104'
versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

@skorpeo
Copy link
Mannequin Author

skorpeo mannequin commented Jun 24, 2020

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.

@skorpeo skorpeo mannequin added 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jun 24, 2020
@iritkatriel
Copy link
Member

This function was rewritten in PR15206 and this line is no longer there.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant