Skip to content

gh-149930: Clarify imaplib response helper types#149963

Open
savagemechanic wants to merge 1 commit into
python:mainfrom
savagemechanic:gh-149930-imaplib-helper-types
Open

gh-149930: Clarify imaplib response helper types#149963
savagemechanic wants to merge 1 commit into
python:mainfrom
savagemechanic:gh-149930-imaplib-helper-types

Conversation

@savagemechanic
Copy link
Copy Markdown
Contributor

@savagemechanic savagemechanic commented May 17, 2026

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
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32728225 | 📁 Comparing 5bc5b1a against main (acefff9)

  🔍 Preview build  

1 file changed
± library/imaplib.html

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

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

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

1 participant