You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
imaplib: select() and uid() error messages raise BytesWarning for a bytes argument #153417
Both mailbox and command accept bytes (mailbox names are commonly bytes, e.g. as returned by list()). When the argument is bytes, formatting it with %s calls str(bytes), which raises BytesWarning under python -bb, masking the real error.
Activity
gh-153417: Fix BytesWarning in imaplib error messages for bytes argum…
[3.13] gh-153417: Fix BytesWarning in imaplib error messages for byte…
[3.15] gh-153417: Fix BytesWarning in imaplib error messages for byte…
[3.14] gh-153417: Fix BytesWarning in imaplib error messages for byte…