FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-66335: Test uppercase IMAP4 command names (GH-152876) by serhiy-storchaka · Pull Request #153081 · python/cpython · GitHub

/ cpython Public

[3.14] gh-66335: Test uppercase IMAP4 command names (GH-152876) - #153081

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-3cd6b74-3.14
Jul 5, 2026
Merged

[3.14] gh-66335: Test uppercase IMAP4 command names (GH-152876)#153081
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-3cd6b74-3.14

Conversation

Copy link
Copy Markdown
Member

imaplib.IMAP4.__getattr__ lets a command be called under its uppercase name (client.CAPABILITY() in addition to client.capability()), as documented, and raises AttributeError for an unknown name. This adds a test for that behavior, which the coverage PR left out.

Co-authored with the author of the original bpo-22137 patch, which included this test.
(cherry picked from commit 3cd6b74)

…52876)

Co-authored-by: Milan Oberkirch <zvyn@oberkirch.org>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
(cherry picked from commit 3cd6b74)
serhiy-storchaka requested a review from a team as a code owner July 5, 2026 08:15
bedevere-app Bot added the tests Tests in the Lib/test dir label Jul 5, 2026
serhiy-storchaka enabled auto-merge (squash) July 5, 2026 08:30
serhiy-storchaka merged commit 683697a into python:3.14 Jul 5, 2026
51 checks passed
serhiy-storchaka deleted the backport-3cd6b74-3.14 branch July 15, 2026 11:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL