Skip to content

[3.13] gh-91099: fix[imaplib]: call Exception with string instance (GH-31823)#150809

Open
miss-islington wants to merge 1 commit into
python:3.13from
miss-islington:backport-29805f0-3.13
Open

[3.13] gh-91099: fix[imaplib]: call Exception with string instance (GH-31823)#150809
miss-islington wants to merge 1 commit into
python:3.13from
miss-islington:backport-29805f0-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 2, 2026

  • bpo-46943: fix[imaplib]: call Exception with string instance

Adjust the behavior of 'login' to be similar to authenticate(),
where self.error is called with a str() instance.
(cherry picked from commit 29805f0)

Co-authored-by: Florian Best spaceone@users.noreply.github.com
Co-authored-by: Oleg Iarygin oleg@arhadthedev.net

…thonGH-31823)

* bpo-46943: fix[imaplib]: call Exception with string instance

Adjust the behavior of 'login' to be similar to `authenticate()`,
where self.error is called with a str() instance.
(cherry picked from commit 29805f0)

Co-authored-by: Florian Best <spaceone@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
@miss-islington miss-islington requested a review from a team as a code owner June 2, 2026 20:42
@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Jun 2, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants