Skip to content

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

Merged
bitdancer merged 1 commit into
python:3.14from
miss-islington:backport-29805f0-3.14
Jun 3, 2026
Merged

[3.14] gh-91099: fix[imaplib]: call Exception with string instance (GH-31823)#150810
bitdancer merged 1 commit into
python:3.14from
miss-islington:backport-29805f0-3.14

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

@bitdancer bitdancer merged commit d5ebac6 into python:3.14 Jun 3, 2026
52 checks passed
@miss-islington miss-islington deleted the backport-29805f0-3.14 branch June 3, 2026 13:12
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.

3 participants