Skip to content

gh-149930: Clarify imaplib response helper types#149963

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
savagemechanic:gh-149930-imaplib-helper-types
Jul 5, 2026
Merged

gh-149930: Clarify imaplib response helper types#149963
serhiy-storchaka merged 2 commits into
python:mainfrom
savagemechanic:gh-149930-imaplib-helper-types

Conversation

@savagemechanic

@savagemechanic savagemechanic commented May 17, 2026

Copy link
Copy Markdown
Contributor

Closes #149930.

Clarify that imaplib.Internaldate2tuple() and imaplib.ParseFlags() operate on bytes-like IMAP response data. Also document that ParseFlags() returns a tuple of bytes.

Docs-only change.

Tested with:

make -C Doc check SPHINXOPTS='-W --keep-going'

@read-the-docs-community

read-the-docs-community Bot commented May 17, 2026

Copy link
Copy Markdown

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 5, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 5, 2026 13:14
@serhiy-storchaka serhiy-storchaka disabled auto-merge July 5, 2026 13:14
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 5, 2026 13:15
@serhiy-storchaka serhiy-storchaka merged commit d2d415b into python:main Jul 5, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 5, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @savagemechanic for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 5, 2026

Copy link
Copy Markdown

GH-153123 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 5, 2026
@bedevere-app

bedevere-app Bot commented Jul 5, 2026

Copy link
Copy Markdown

GH-153124 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 5, 2026
@bedevere-app

bedevere-app Bot commented Jul 5, 2026

Copy link
Copy Markdown

GH-153125 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 5, 2026
serhiy-storchaka pushed a commit that referenced this pull request Jul 5, 2026
…H-153123)

(cherry picked from commit d2d415b)

Co-authored-by: Savage Mechanic <savagemechanic@github.com>
Co-authored-by: savagemechanic <20458938+savagemechanic@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request Jul 5, 2026
…H-153124)

(cherry picked from commit d2d415b)

Co-authored-by: Savage Mechanic <savagemechanic@github.com>
Co-authored-by: savagemechanic <20458938+savagemechanic@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request Jul 5, 2026
…H-153125)

(cherry picked from commit d2d415b)

Co-authored-by: Savage Mechanic <savagemechanic@github.com>
Co-authored-by: savagemechanic <20458938+savagemechanic@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Document bytes-like input and bytes return values for imaplib response helpers

2 participants